Fix uncatchable exception on __destruct

This commit is contained in:
RainLoop Team 2013-11-25 21:37:51 +04:00
parent b6b54b2540
commit c10b2183e3

View file

@ -91,7 +91,11 @@ abstract class NetClient
*/ */
public function __destruct() public function __destruct()
{ {
$this->LogoutAndDisconnect(); try
{
$this->LogoutAndDisconnect();
}
catch (\Exception $oException) {}
} }
/** /**