continue
continue copied to clipboard
fix: prevent memory leaks from AbortController in async operations
Description
AbortController instances were not being properly cleaned up after async operations (Promise/AsyncGenerator) completed or failed, leading to potential memory leaks.
Testing
Verified with:
- Run async tasks until completion
- Premature interruption cases
- Memory profiling before/after changes