mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-02 13:39:41 +02:00
chore: bump version to 0.1434
This commit is contained in:
@@ -564,4 +564,15 @@ export class TaskTracker extends EventEmitter {
|
||||
this.taskStack = [];
|
||||
this.pendingToolUses.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up resources and release memory.
|
||||
*
|
||||
* Call this when the session is being destroyed to prevent memory leaks.
|
||||
* Clears all data and removes all event listeners.
|
||||
*/
|
||||
destroy(): void {
|
||||
this.clear();
|
||||
this.removeAllListeners();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user