Skip to content
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

Update $eventLoopClass initialization process. #980

Merged
merged 1 commit into from
Nov 4, 2023

Conversation

luzrain
Copy link
Contributor

@luzrain luzrain commented Nov 4, 2023

I moved $eventLoopClass initialization process out from getter to new initGlobalEvent method.
Also I added condition whether $eventLoopClass implements EventInterface or not. If not, process exits immediately with message. Previously in this situation process hangs with loop flooding exceptions.

I also suggest redirecting all exceptions thrown in runAll method to the log.

image

@walkor walkor merged commit e7189b6 into walkor:master Nov 4, 2023
18 checks passed
@luzrain luzrain deleted the event_init branch November 4, 2023 13:40
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.

2 participants