performCleanup method
Performs cleanup of orphaned files
Implementation
@override
Future<void> performCleanup() async {
await _ensureInitialized();
debugPrint('UnifiedModelManager: Performing cleanup');
try {
await UnifiedDownloadEngine.performCleanup();
debugPrint('UnifiedModelManager: Cleanup completed');
} catch (e) {
debugPrint('UnifiedModelManager: Cleanup failed: $e');
// Don't rethrow - cleanup failures should not break the app
}
}