mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-27 09:08:26 +08:00
Fix uncatchable exception on __destruct
This commit is contained in:
parent
b6b54b2540
commit
c10b2183e3
1 changed files with 5 additions and 1 deletions
|
@ -91,7 +91,11 @@ abstract class NetClient
|
|||
*/
|
||||
public function __destruct()
|
||||
{
|
||||
$this->LogoutAndDisconnect();
|
||||
try
|
||||
{
|
||||
$this->LogoutAndDisconnect();
|
||||
}
|
||||
catch (\Exception $oException) {}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue