From ef642ae3293497cb5b16d515ceef5b83a46a3089 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Tue, 25 Aug 2026 09:10:11 +0800 Subject: [PATCH] bump hbb_common: fix the SESSIONS leak the leak test was creating MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The zero-timeout cancellation in `test_cancelled_new_does_not_leak_the_pc` is not guaranteed to win — the setup task can finish inside the single poll it allows, and `new()` then returns a live stream that the test discarded. `WebRTCStream` has no `Drop`, so that stranded its own pc in SESSIONS and the test reported it as the cancelled attempt's leak. Nothing in production was leaking. 24 tests now pass at 1, 2, 4, 8 and default thread counts; `--test-threads=2` had failed every run. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_019UzcMTdYTEv2QbMHcTSUy3 --- libs/hbb_common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/hbb_common b/libs/hbb_common index a96ec7f77..cc8537c10 160000 --- a/libs/hbb_common +++ b/libs/hbb_common @@ -1 +1 @@ -Subproject commit a96ec7f77e09fe93ef5286862fae52fbaf4bbe35 +Subproject commit cc8537c1042529e79cde185795843e6b8d342900