Skip to content

Stop WSServer on OBS exit#644

Merged
Palakis merged 1 commit into
obsproject:4.x-currentfrom
eric:stop-ws-server-on-exit
Jan 18, 2021
Merged

Stop WSServer on OBS exit#644
Palakis merged 1 commit into
obsproject:4.x-currentfrom
eric:stop-ws-server-on-exit

Conversation

@eric

@eric eric commented Dec 29, 2020

Copy link
Copy Markdown

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
Copy Markdown

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