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

Register DumpRecorder only once and keep original handler connected #233

Merged
merged 4 commits into from
Dec 27, 2021

Conversation

AlexVanderbist
Copy link
Member

When using Ray I noticed that Ignition stopped receiving dump and dd statements. This is because both packages replace the VarDumper::$handler with their own implementation and only one $handler can be registered at a time.

This PR makes sure the DumpRecorder only registers its MultiDumpHandler once. It also makes sure that the original VarDumper::$handler gets added to the MultiDumpHandler.

@AlexVanderbist AlexVanderbist merged commit 9e14593 into main Dec 27, 2021
@AlexVanderbist AlexVanderbist deleted the fix-dump-recorder branch December 27, 2021 19:51
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.

1 participant