Commit 8df67095 authored by Pavel Vainerman's avatar Pavel Vainerman

(LogSession): исправлена ошибка некорректного завершения сессии..

parent 0a5d05e4
...@@ -16,13 +16,11 @@ using namespace UniSetTypes; ...@@ -16,13 +16,11 @@ using namespace UniSetTypes;
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
LogSession::~LogSession() LogSession::~LogSession()
{ {
cancelled = true;
if( isRunning() ) if( isRunning() )
{ {
cancelled = true;
ost::Thread::join();
disconnect(); disconnect();
// if( isRunning() )
// ost::Thread::join();
} }
} }
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
...@@ -277,8 +275,6 @@ void LogSession::final() ...@@ -277,8 +275,6 @@ void LogSession::final()
{ {
} }
delete this;
} }
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
void LogSession::connectFinalSession( FinalSlot sl ) void LogSession::connectFinalSession( FinalSlot sl )
......
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