Skip to content

Fix incorrect eventLoopCallback #3781

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

BoomEaro
Copy link
Contributor

@BoomEaro BoomEaro commented Feb 8, 2025

This pull request fixes an incorrect callback creation where an async event could execute the callback outside the eventloop after the intent was completed.

Currently the current issue results in this error for any plugin:
https://pastebin.com/qeh0Nkq2

@Outfluencer
Copy link
Collaborator

You're absolutly right the eventloop check needs to be inside the wrapper callback.

Thank you

@md-5 md-5 merged commit ed4a80e into SpigotMC:master Feb 8, 2025
4 checks passed
@md-5
Copy link
Member

md-5 commented Feb 8, 2025

Thanks

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.

3 participants