mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
this prevents any tasks still left in the queue on shutdown getting pulled out by the worker when we're attempting to shut it down. This led to various race conditions, most notably weird cases where PopulationTask would inexplicably find its expected generator state had not been correctly set up.