From 497fa731ca6381268151922f143dbd2a5a69396a Mon Sep 17 00:00:00 2001 From: SikongJueluo Date: Wed, 9 Jul 2025 14:07:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E4=B8=B2=E6=B5=81=E6=97=B6=EF=BC=8C=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=E4=BB=8D=E7=84=B6=E8=AF=BB=E5=8F=96camera=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/Services/HttpVideoStreamService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/Services/HttpVideoStreamService.cs b/server/src/Services/HttpVideoStreamService.cs index 0969e89..2170988 100644 --- a/server/src/Services/HttpVideoStreamService.cs +++ b/server/src/Services/HttpVideoStreamService.cs @@ -558,7 +558,7 @@ public class HttpVideoStreamService : BackgroundService { var frameInterval = TimeSpan.FromMilliseconds(1000.0 / _frameRate); - while (!cancellationToken.IsCancellationRequested) + while (!cancellationToken.IsCancellationRequested && Enabled) { try {