maple.utils.cleanup
Resource cleanup utilities.
This module provides automatic cleanup management for Docker containers and other resources. It ensures proper cleanup when: - Program exits normally - Program crashes - User presses Ctrl+C (SIGINT) - SIGTERM is received
Classes
Singleton manager for automatic resource cleanup. |
Functions
Manually trigger cleanup of all resources. |
|
|
Register a custom cleanup handler. |
|
Register a container for automatic cleanup. |
|
Unregister a container from automatic cleanup. |