diff --git a/Net/include/Poco/Net/ParallelSocketReactor.h b/Net/include/Poco/Net/ParallelSocketReactor.h index c89d68d9a..f17bddf70 100644 --- a/Net/include/Poco/Net/ParallelSocketReactor.h +++ b/Net/include/Poco/Net/ParallelSocketReactor.h @@ -63,8 +63,15 @@ public: ~ParallelSocketReactor() { - this->stop(); - _thread.join(); + try + { + this->stop(); + _thread.join(); + } + catch (...) + { + poco_unexpected(); + } } protected: