Commit ca698118 authored by Pavel Vainerman's avatar Pavel Vainerman

Сделал инициализацию ost::Thread::setException глобальной (в uniset_init)

parent 08f00add
......@@ -1096,6 +1096,9 @@ std::shared_ptr<Configuration> uniset_init( int argc, const char* const* argv, c
return UniSetTypes::uconf;
}
// инициализация исключений для libcommoncpp
ost::Thread::setException(ost::Thread::throwException);
atexit( UniSetActivator::normalexit );
set_terminate( UniSetActivator::normalterminate ); // ловушка для неизвестных исключений
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment