From 135c10c0f541383e6af5767bf19620ca2a4f1903 Mon Sep 17 00:00:00 2001 From: Guenter Obiltschnig Date: Mon, 29 Sep 2014 10:23:41 +0200 Subject: [PATCH] #538 fixed ParallelSocketReactor dtor --- Net/include/Poco/Net/ParallelSocketReactor.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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: