Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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
@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