fix: 修复c sdk 信令服务及ice服务未关闭问题 (#4475)
Some checks are pending
Android / build (push) Waiting to run
CodeQL / Analyze (cpp) (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
Docker / build (push) Waiting to run
Linux / build (push) Waiting to run
macOS / build (push) Waiting to run
Windows / build (push) Waiting to run

This commit is contained in:
Lidaofu 2025-09-26 17:51:33 +08:00 committed by GitHub
parent 1bb3b43313
commit be6f6a6690
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,6 +82,9 @@ API_EXPORT void API_CALL mk_stop_all_server(){
#ifdef ENABLE_WEBRTC #ifdef ENABLE_WEBRTC
rtcServer_udp = nullptr; rtcServer_udp = nullptr;
rtcServer_tcp = nullptr; rtcServer_tcp = nullptr;
iceServer_udp = nullptr;
iceServer_tcp = nullptr;
CLEAR_ARR(signaling_server);
#endif #endif
#ifdef ENABLE_SRT #ifdef ENABLE_SRT
srtServer = nullptr; srtServer = nullptr;