This method is required in order to know that the thread has successfully being destroyed. Without this, pocketmine would think that the thread is still running and finally causing a heap of unknown/killed threads.
Steps to reproduce
Here is an example of how to create the such issue stated above.
This method is required in order to know that the thread has successfully being destroyed. Without this, pocketmine would think that the thread is still running and finally causing a heap of unknown/killed threads.
Steps to reproduce
Here is an example of how to create the such issue stated above.
Another way to reproduce this issue is to
reload
the server multiple times and issue astatus
commandResults:
Before this commit:
After this commit:
![unknown](https://user-images.githubusercontent.com/15889642/89104869-10f1ac00-d44f-11ea-8837-5cba16983979.png)