Skip to content

fix: resolve memory leaks and improve resource cleanup#76

Open
nikomatt69 wants to merge 1 commit intoxmaxfrom
fix/memory-leaks-and-cleanup
Open

fix: resolve memory leaks and improve resource cleanup#76
nikomatt69 wants to merge 1 commit intoxmaxfrom
fix/memory-leaks-and-cleanup

Conversation

@nikomatt69
Copy link
Owner

This PR addresses several memory leak issues identified during code analysis:

  • Improved cleanup of global process listeners (SIGINT, SIGTERM) in NikCLI and Unified Chat.
  • Added explicit removal of event listeners for authProvider and agentService during shutdown.
  • Ensured readline interface listeners are removed before closing.
  • Fixed potential listener accumulation in Unified CLI during multiple starts/stops.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 6, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
nikcli dea44bf Jan 06 2026, 06:10 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant