Memory management optimizations:
- clearDomCache(): Invalidates jQuery object cache on panel rebuild
- Event tracking: All on()/once() handlers now tracked for cleanup by unregisterAllEvents()
- clearDebugLogs(): Called on CHAT_CHANGED to prevent memory accumulation
- jQuery cleanup infrastructure: trackJQueryHandler()/cleanupJQueryEvents() for future use
- 14 new tests, all passing
Closes #11
- Add clearDomCache() for jQuery object cache invalidation on panel rebuild
- Track all event handlers in on()/once() for complete cleanup by unregisterAllEvents()
- Migrate direct eventSource.on() calls to tracked onEvent() in index.js, injector.js, sillyTavernExpressions.js
- Add clearDebugLogs() called on CHAT_CHANGED to prevent memory accumulation
- Add trackJQueryHandler()/cleanupJQueryEvents() infrastructure for jQuery event cleanup
- Add comprehensive memory management tests (14 new tests, all passing)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Memory management optimizations:
Closes #11
✅ No issues found — changes look consistent with the stated intent. Ready to be merged.