Skip to content

[Bug] Request errors silently leak job entries #51

Description

@PyDevC

File: lua/model_cmp/modelapi/request.lua:6-11

Introduction: M.current_jobs accumulates entries on every request. M.remove_request() is only called on successful responses (common.lua:71). Errors (decode failure, network failure, empty response) never clean up the job entry, leading to unbounded memory growth over a long Neovim session.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    AI genIssue was generated by AIbugSomething isn't workingmaintainer triagedmaintainer has triaged the issue

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions