maple.utils.cleanup.CleanupManager.unregister_handler

CleanupManager.unregister_handler(name: str) None

Unregister a custom cleanup handler.

Removes a previously registered cleanup handler. Safe to call even if the handler doesn’t exist.

Parameters:

name – Identifier of the cleanup handler to remove.