Commit 89382a0f authored by Pavel Vainerman's avatar Pavel Vainerman

Убрал лишние вызовы, т.к. в связи с переходом на shared_ptr

завершение программы стало корректно работать.
parent d36667c6
......@@ -64,10 +64,7 @@ int main(int argc, char* argv[] )
return 1;
}
int ret = session.run();
act->oaDestroy();
return ret;
return session.run();
}
catch( SystemError& err )
{
......
......@@ -64,10 +64,7 @@ int main(int argc, char* argv[] )
return 1;
}
int ret = session.run();
act->oaDestroy();
return ret;
return session.run();
}
catch( SystemError& err )
{
......
......@@ -92,12 +92,7 @@ int main(int argc, char* argv[] )
return 1;
}
int ret = session.run();
act->oaDestroy();
act.reset();
conf.reset();
return ret;
return session.run();
}
catch( SystemError& err )
{
......
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