Skip to content

Fix: Prevent event dispatches from being rescheduled - #221

Merged
beanbag44 merged 1 commit into
1.21.11from
fix/182
Apr 28, 2026
Merged

Fix: Prevent event dispatches from being rescheduled#221
beanbag44 merged 1 commit into
1.21.11from
fix/182

Conversation

@emyfops

Copy link
Copy Markdown
Contributor

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-automationgithub-project-automationBot moved this to Backlog in KanbanMar 11, 2026
@beanbag44
beanbag44 merged commit b4b5877 into 1.21.11Apr 28, 2026
1 check passed
@github-project-automationgithub-project-automationBot moved this from Backlog to Done in KanbanApr 28, 2026
Sign up for freeto 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

@emyfops@Avanatiker@beanbag44