#538 fixed ParallelSocketReactor dtor

This commit is contained in:
Guenter Obiltschnig
2014-09-29 10:23:41 +02:00
parent b5658d3938
commit 135c10c0f5

View File

@@ -62,10 +62,17 @@ public:
} }
~ParallelSocketReactor() ~ParallelSocketReactor()
{
try
{ {
this->stop(); this->stop();
_thread.join(); _thread.join();
} }
catch (...)
{
poco_unexpected();
}
}
protected: protected:
void onIdle() void onIdle()