Skip to content

fix(forge): cancel stale scheduled callbacks - #35

Merged
blakinio merged 10 commits into
mainfrom
fix/OTC-20260726-forge-scheduled-events
Jul 26, 2026
Merged

fix(forge): cancel stale scheduled callbacks#35
blakinio merged 10 commits into
mainfrom
fix/OTC-20260726-forge-scheduled-events

Conversation

@blakinio

Copy link
Copy Markdown
Owner

Purpose

Repair Forge lifecycle races where scheduled Lua callbacks survive window/controller teardown and C++ later attempts to invoke expired functions.

Task

Scope

  • retained event-handle registry
  • generation guards for queue/cancellation races
  • cancellation before hide, game end and terminate cleanup
  • focused repeated-lifecycle Lua tests

Safety

  • no Forge protocol, pricing, convergence or animation-timing changes
  • only module-owned scheduled callbacks are tracked
  • draft until dependencies and exact-head required CI pass

@blakinio
blakinio marked this pull request as ready for review July 26, 2026 12:31
@blakinio
blakinio force-pushed the fix/OTC-20260726-forge-scheduled-events branch from 70818ce to 1207f8d Compare July 26, 2026 12:31
@blakinio
blakinio enabled auto-merge (squash) July 26, 2026 12:31
@blakinio
blakinio merged commit 1a201fa into main Jul 26, 2026
21 of 24 checks passed
@blakinio
blakinio deleted the fix/OTC-20260726-forge-scheduled-events branch July 26, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant