Skip to content

Fix: Prevent event dispatches from being rescheduled#221

Merged
beanbag44 merged 1 commit into1.21.11from
fix/182
Apr 28, 2026
Merged

Fix: Prevent event dispatches from being rescheduled#221
beanbag44 merged 1 commit into1.21.11from
fix/182

Conversation

@emyfops
Copy link
Copy Markdown
Collaborator

@emyfops emyfops commented Jan 14, 2026

Closes #182

This pull request removes the safe listener events from being rescheduled if they are not on the main thread. This change was made in order to remove branching in the logic. The api should not manage at which stage events are dispatched and let the developer manage it themselves. This is potentially a breaking change as the complex inventory system may depend on this bug for its features.

@github-project-automation github-project-automation Bot moved this to Backlog in Kanban Mar 11, 2026
@beanbag44 beanbag44 merged commit b4b5877 into 1.21.11 Apr 28, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Kanban Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Bug: Safe listener lambdas are scheduled instead of executing immediately

3 participants