From dae46a59ae0c93cad7e3fdaf9b73726084ff46d1 Mon Sep 17 00:00:00 2001 From: winlin Date: Fri, 30 Sep 2022 19:15:02 +0800 Subject: [PATCH] Fix utest failed. --- trunk/src/app/srs_app_threads.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trunk/src/app/srs_app_threads.cpp b/trunk/src/app/srs_app_threads.cpp index f7240eb1d..387c17cf3 100644 --- a/trunk/src/app/srs_app_threads.cpp +++ b/trunk/src/app/srs_app_threads.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #ifdef SRS_RTC #include #include @@ -329,6 +330,7 @@ srs_error_t srs_global_initialize() _srs_rtc_manager = new SrsResourceManager("RTC", true); _srs_rtc_dtls_certificate = new SrsDtlsCertificate(); #endif + _srs_gc = new SrsSweepGc(); // Initialize global pps, which depends on _srs_clock _srs_pps_ids = new SrsPps();