When stop() is called before detachFromBot(), mineflayer listeners remain attached. Nullifying context ensures handleMineflayerEvent's guard clause silently ignores any events that fire in this window.
When stop() is called before detachFromBot(), mineflayer listeners remain attached. Nullifying context ensures handleMineflayerEvent's guard clause silently ignores any events that fire in this window.