No, everything is already handled in the closure via a static variable.
Ref https://github.com/ezsystems/ezp-next/blob/master/eZ/Publish/Core/MVC/Legacy/Kernel/Loader.php#L56