Skip to content

[P3] Reaper notifies channels before killSession — race condition on shutdown #842

@OneStepAt4time

Description

@OneStepAt4time

Problem

Reaper calls channels.sessionEnded() before killSession(). This means channels are notified that a session has ended before it is actually killed.

Verified Status

NEW — NOT TRACKED

Impact

Race condition — channel handlers may try to interact with a session that is not yet fully shut down.

Environment

  • Aegis version: latest (main)
  • Install method: npm/global

Metadata

Metadata

Labels

P3P3 — fix when time allowsbackendbugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions