Syphon-Framework icon indicating copy to clipboard operation
Syphon-Framework copied to clipboard

Fixed random crash when creating client

Open mattbeghin opened this issue 2 years ago • 1 comments

In MadMapper, when creating / deleting the syphon client multiple times per second for 5 minutes while server is pushing frames at 60 FPS, I generally get a crash because we get a new frame from server before "SyphonClientBase::_handler" variable is initialized. This patch solved the issue.

mattbeghin avatar Sep 26 '22 09:09 mattbeghin

Hey - thanks for this. I don't see how the handler can be being invoked before the call further down to -addInfoClient:isFrameClient:. I will try to recreate the issue.

bangnoise avatar Sep 27 '22 11:09 bangnoise