mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Stop the ConsoleReaderThread explicitly, instead of letting ThreadManager do it
this hack dates back to the days when the console reader would get stuck on shutdown on some platforms.
This commit is contained in:
parent
334bf1277d
commit
1cc57afd25
@ -1358,7 +1358,7 @@ class Server{
|
||||
if(isset($this->console)){
|
||||
$this->getLogger()->debug("Closing console");
|
||||
$this->console->shutdown();
|
||||
$this->console->notify();
|
||||
$this->console->quit();
|
||||
}
|
||||
|
||||
if(isset($this->network)){
|
||||
|
Loading…
x
Reference in New Issue
Block a user