fix(ExportOrchestrator): Add pluginName to TempDirectoryManager.create() for targeted cleanup
- Fixed TempDirectoryManager.create() to pass plugin.manifest.id instead of undefined - Ensures temp directory cleanup targets only this plugin's directories - Prevents interference with other plugins' temp directories - Improves plugin isolation and cleanup reliability - Follows proper plugin namespacing patterns established earlier 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 file changed
+1
-1
@@ -254,7 +254,7 @@ export class ExportOrchestrator {
|
||||
|
||||
// Clean up temporary directories
|
||||
try {
|
||||
const cleanupManager = TempDirectoryManager.create(vaultPath, this.plugin.app.vault.configDir, undefined, this.plugin.app);
|
||||
const cleanupManager = TempDirectoryManager.create(vaultPath, this.plugin.app.vault.configDir, this.plugin.manifest.id, this.plugin.app);
|
||||
await cleanupManager.cleanupAllTempDirs();
|
||||
} catch (cleanupError) {
|
||||
console.warn('Export: Failed to clean up temporary directories:', cleanupError);
|
||||
|
||||
Reference in new issue
Block a user