mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Network->unregisterInterface() is now less useless
Interfaces are now automatically shut down when unregistered.
This commit is contained in:
@ -1683,7 +1683,6 @@ class Server{
|
||||
$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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user