maple.utils.cleanup.CleanupManager.instance
- classmethod CleanupManager.instance() CleanupManager
Get the singleton instance of CleanupManager.
Creates the instance on first call and registers cleanup handlers. Thread-safe implementation using double-checked locking pattern.
- Returns:
The singleton CleanupManager instance.