From 8c3d7018db5da1c67b6cd65671019fe6c19e704f Mon Sep 17 00:00:00 2001 From: winlin Date: Sun, 1 Sep 2024 07:55:06 +0800 Subject: [PATCH] Refine code. --- trunk/src/app/srs_app_http_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/app/srs_app_http_stream.cpp b/trunk/src/app/srs_app_http_stream.cpp index f1891c5236..36131c4515 100755 --- a/trunk/src/app/srs_app_http_stream.cpp +++ b/trunk/src/app/srs_app_http_stream.cpp @@ -1307,7 +1307,7 @@ srs_error_t SrsHttpStreamDestroy::call() // Free all HTTP resources. SrsUniquePtr entry(it->second); - entry->disposing = true; + srs_assert(entry->disposing); SrsUniquePtr stream(entry->stream); SrsUniquePtr cache(entry->cache);