From 4f534bfd432563e8de1628c86e43acb61bc25975 Mon Sep 17 00:00:00 2001 From: Zach Vorhies Date: Tue, 27 Oct 2026 19:33:24 -0700 Subject: [PATCH] fix(obs-websocket): Point the submodule at the onClose null-session fix (#2720) #2722 bumped plugins/obs-websocket to 3253206 (obs-rust/obs-websocket#22, the bounded session drain). The submodule's master has since moved to 777071b, which adds #23: onClose() returns when the handle is absent instead of default-constructing and inserting a null SessionPtr that it then dereferences. Point the submodule at 777071b and record the fix in the features ledger. Refs #2720 Refs #2713 --- docs/features.md | 7 +++++++ plugins/obs-websocket | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/features.md b/docs/features.md index f2a45d90e0..a61bc32703 100644 --- a/docs/features.md +++ b/docs/features.md @@ -2333,6 +2333,13 @@ area. [#2713](https://github.com/obs-rust/obs-studio/issues/2713); obs-rust/obs-websocket [#22](https://github.com/obs-rust/obs-websocket/pull/22). +- A WebSocket client that disconnects while the server is closing no longer + crashes OBS. `onClose()` looks the handle up and returns when the session is + already gone, instead of default-constructing and inserting a null session it + then dereferences. *All*, pending merge. Issue + [#2720](https://github.com/obs-rust/obs-studio/issues/2720); + obs-rust/obs-websocket + [#23](https://github.com/obs-rust/obs-websocket/pull/23). ### Security hardening diff --git a/plugins/obs-websocket b/plugins/obs-websocket index 3253206ff1..777071b5db 160000 --- a/plugins/obs-websocket +++ b/plugins/obs-websocket @@ -1 +1 @@ -Subproject commit 3253206ff1ba62213936f4e9458e0ebf5eb421ea +Subproject commit 777071b5db3dc3cf0fd62f3cea5a2a3ac7992af2