endFrame
Lane pump, end of a frame. Disarms only when the OUTERMOST frame ends; an inner frame re-arms a FULL budget for the one it returns to. Vanilla re-enters the pump — Minecraft#disconnect and #doWorldLoad spin runTick(false) while a step is on the stack — and disarming there would leave that step running unguarded for the rest of its turn. Pair with beginFrame in a try/finally, or the depth leaks and the budget is never disarmed.