Skip to content

mcp-api-handler.ts setInterval NOT unref()'ed = process can't exit #129

@alxc

Description

@alxc

if (!cleanupInterval) {
cleanupInterval = setInterval(() => {
// cleanups...
}, 30 * 1000); // Run every 30 seconds
}

cleanupInterval wants clearInterval()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions