Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
296e1199
Commit
296e1199
authored
Oct 24, 2012
by
JINMEI Tatuya
Browse files
[master] use terminate() instead of assert(false) for forceful termination
parent
2ce8ea31
Changes
1
Show whitespace changes
Inline
Side-by-side
src/bin/auth/datasrc_clients_mgr.h
View file @
296e1199
...
...
@@ -36,6 +36,7 @@
#include <boost/shared_ptr.hpp>
#include <boost/noncopyable.hpp>
#include <exception>
#include <list>
#include <utility>
...
...
@@ -406,10 +407,10 @@ DataSrcClientsBuilderBase<MutexType, CondVarType>::run() {
// We explicitly catch exceptions so we can log it as soon as possible.
LOG_FATAL
(
auth_logger
,
AUTH_DATASRC_CLIENTS_BUILDER_FAILED
).
arg
(
ex
.
what
());
assert
(
false
);
std
::
terminate
(
);
}
catch
(...)
{
LOG_FATAL
(
auth_logger
,
AUTH_DATASRC_CLIENTS_BUILDER_FAILED_UNEXPECTED
);
assert
(
false
);
std
::
terminate
(
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment