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

Check for ndiLib when destroying receiver and framesync #1084

Merged
merged 4 commits into from
Sep 9, 2024

Conversation

BitRate27
Copy link
Contributor

@BitRate27 BitRate27 commented Aug 29, 2024

The 100ms delay if no_of_connections == 0 can mean the thread loop will exit after the ndiLib has been destroyed in module unload. Adding a check for a valid ndiLib link before calling destroy methods will keep shutdown from crashing.

@Trouffman
Copy link
Collaborator

Great! This was something I was experiencing as well recently, even added a comment about it in the code.

Looking to see if this can be added in the next release too.

@Trouffman Trouffman added enhancement Interface (UI/UX) User Interface (UI / GUI) or User Experience (UX) labels Sep 3, 2024
Copy link
Collaborator

@Trouffman Trouffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All sounds good to me.
Also tested this code in the Visibility Behavior Update Branch : #1074

Copy link
Contributor Author

@BitRate27 BitRate27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for adding.

@Trouffman Trouffman merged commit 41413d6 into DistroAV:master Sep 9, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Interface (UI/UX) User Interface (UI / GUI) or User Experience (UX)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants