From c10b2183e3047f72c42cbe2fecd4ef2856db94bb Mon Sep 17 00:00:00 2001 From: RainLoop Team Date: Mon, 25 Nov 2013 21:37:51 +0400 Subject: [PATCH] Fix uncatchable exception on __destruct --- rainloop/v/0.0.0/app/libraries/MailSo/Net/NetClient.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rainloop/v/0.0.0/app/libraries/MailSo/Net/NetClient.php b/rainloop/v/0.0.0/app/libraries/MailSo/Net/NetClient.php index 59950a078..3c6a952fc 100644 --- a/rainloop/v/0.0.0/app/libraries/MailSo/Net/NetClient.php +++ b/rainloop/v/0.0.0/app/libraries/MailSo/Net/NetClient.php @@ -91,7 +91,11 @@ abstract class NetClient */ public function __destruct() { - $this->LogoutAndDisconnect(); + try + { + $this->LogoutAndDisconnect(); + } + catch (\Exception $oException) {} } /**