Severity
Low
Describe the bug
Subscription token sequence starts at 0, but unsubscribe guard checks m_token != 0, so first subscription never unsubscribes.
Steps to reproduce
- Subscribe first handler.
- Destroy/move
EventSubscription.
- Handler remains active.
Expected behavior
First token unsubscribes correctly.
Actual behavior
Stale subscription.
Logs / Error Output
Minimal reproduction
src/InfiniFrame.Native/Utils/Event.h:88
src/InfiniFrame.Native/Utils/Event.h:135
.NET Version
No response
Project Version / Commit
No response
Operating System
No response
Checklist
Severity
Low
Describe the bug
Subscription token sequence starts at 0, but unsubscribe guard checks
m_token != 0, so first subscription never unsubscribes.Steps to reproduce
EventSubscription.Expected behavior
First token unsubscribes correctly.
Actual behavior
Stale subscription.
Logs / Error Output
Minimal reproduction
src/InfiniFrame.Native/Utils/Event.h:88src/InfiniFrame.Native/Utils/Event.h:135.NET Version
No response
Project Version / Commit
No response
Operating System
No response
Checklist