Server: more shutdown debug

This commit is contained in:
Dylan K. Taylor 2018-02-04 10:14:35 +00:00
parent 68b30108be
commit b659a3d39f

View File

@ -2096,11 +2096,13 @@ class Server{
if($this->network instanceof Network){
$this->getLogger()->debug("Stopping network interfaces");
foreach($this->network->getInterfaces() as $interface){
$this->getLogger()->debug("Stopping network interface " . get_class($interface));
$interface->shutdown();
$this->network->unregisterInterface($interface);
}
}
$this->getLogger()->debug("Collecting cycles");
gc_collect_cycles();
}catch(\Throwable $e){
$this->logger->logException($e);