Skip to content

Conversation

@mattbeghin
Copy link

@mattbeghin mattbeghin commented Sep 26, 2022

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.

Set handler before initializing connection connection would get a frame before "_handler" is valid
@bangnoise
Copy link
Member

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 bangnoise self-assigned this Sep 27, 2022
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