Skip to content

Grid-shift subscription leak / TypeError on race — cartesian-grid-config.component.ts:57-69 #989

Description

@Shivansh1205

Two subscriptions unsubscribe only inside the stopShifting handler, which fires on right-click (index.ts:740). The component calls this.onClose() immediately after subscribing, and has no ngOnDestroy. Close the dialog without right-clicking and both subscriptions outlive it, leaking on every reopen. If stopShifting emits before stopShiftingSub is assigned, line 67 throws on null.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions