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

Stop WSServer on OBS exit #644

Merged
merged 1 commit into from
Jan 18, 2021

Conversation

eric
Copy link

@eric eric commented Dec 29, 2020

Description

Stop the WSServer when receiving the OBS Exit event.

Motivation and Context

I have run into crashes on OBS exit due to websocket clients responding to events during teardown. This should fix it by reacting to the exit event and stopping the server.

How Has This Been Tested?

Tested OS(s):

  • macOS 10.15.7

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

This should fix issues with race conditions and crashes on OBS exit.
@eric eric force-pushed the stop-ws-server-on-exit branch from 154afa0 to 9275f7c Compare December 29, 2020 19:41
@christianscheuer
Copy link

This is awesome, thank you!

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.

3 participants