obsproject / obs-websocket

Remote-control of OBS Studio through WebSocket
GNU General Public License v2.0
3.8k stars 701 forks source link

Bug: ExitStarted event sent after scene/source/filters removal events #1136

Closed Durss closed 1 year ago

Durss commented 1 year ago

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

29.0.x

OBS Studio Version (Other)

No response

obs-websocket Version

5.1.0

OBS Studio Log URL

https://obsproject.com/logs/spAWcRQ5GlU3sfDj

OBS Studio Crash Log URL

No response

Expected Behavior

When closing OBS we get an event for all sources, scenes and filters saying they've been removed.

To avoid handling them on the remote app we can listen for the ExitStarted event that's supposed to be sent before that so we know OBS is actually closing.

Current Behavior

The ExitStarted event is actually sent after the removals notifications.

Steps to Reproduce

  1. connect to OBS-WS
  2. close OBS
  3. inspect WS events, we get removal events before ExitStarted

Anything else we should know?

No response