mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Fix uncatchable exception on __destruct
This commit is contained in:
parent
b6b54b2540
commit
c10b2183e3
1 changed files with 5 additions and 1 deletions
|
|
@ -90,9 +90,13 @@ abstract class NetClient
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function __destruct()
|
public function __destruct()
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
$this->LogoutAndDisconnect();
|
$this->LogoutAndDisconnect();
|
||||||
}
|
}
|
||||||
|
catch (\Exception $oException) {}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return void
|
* @return void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue