StaticHap.detachAll
void detachAll() @safe nothrow @nogcDetach all handlers.
Handlers from an already-captured dispatch snapshot may still run during the current emit; subsequent emits see the empty handler list unless new handlers are attached after this call.