diff --git a/test/capi_connectivity.cpp b/test/capi_connectivity.cpp index db86b5f..65e0832 100644 --- a/test/capi_connectivity.cpp +++ b/test/capi_connectivity.cpp @@ -326,10 +326,6 @@ int test_capi_connectivity_main() { deletePeer(peer2); sleep(1); - // You may call rtcCleanup() when finished to free static resources - rtcCleanup(); - sleep(1); - printf("Success\n"); return 0; diff --git a/test/capi_track.cpp b/test/capi_track.cpp index e3c6306..df11839 100644 --- a/test/capi_track.cpp +++ b/test/capi_track.cpp @@ -177,10 +177,6 @@ int test_capi_track_main() { deletePeer(peer2); sleep(1); - // You may call rtcCleanup() when finished to free static resources - rtcCleanup(); - sleep(1); - printf("Success\n"); return 0; diff --git a/test/connectivity.cpp b/test/connectivity.cpp index 882e856..74385ee 100644 --- a/test/connectivity.cpp +++ b/test/connectivity.cpp @@ -251,9 +251,5 @@ void test_connectivity() { pc2->close(); this_thread::sleep_for(1s); - // You may call rtc::Cleanup() when finished to free static resources - rtc::Cleanup(); - this_thread::sleep_for(1s); - cout << "Success" << endl; } diff --git a/test/track.cpp b/test/track.cpp index 9f1c7a5..2f2510a 100644 --- a/test/track.cpp +++ b/test/track.cpp @@ -143,9 +143,5 @@ void test_track() { pc2->close(); this_thread::sleep_for(1s); - // You may call rtc::Cleanup() when finished to free static resources - rtc::Cleanup(); - this_thread::sleep_for(1s); - cout << "Success" << endl; } diff --git a/test/turn_connectivity.cpp b/test/turn_connectivity.cpp index e80de78..88e189f 100644 --- a/test/turn_connectivity.cpp +++ b/test/turn_connectivity.cpp @@ -258,9 +258,5 @@ void test_turn_connectivity() { pc2->close(); this_thread::sleep_for(1s); - // You may call rtc::Cleanup() when finished to free static resources - rtc::Cleanup(); - this_thread::sleep_for(1s); - cout << "Success" << endl; } diff --git a/test/websocket.cpp b/test/websocket.cpp index 60892f7..2ee636d 100644 --- a/test/websocket.cpp +++ b/test/websocket.cpp @@ -78,10 +78,6 @@ void test_websocket() { ws->close(); this_thread::sleep_for(1s); - // You may call rtc::Cleanup() when finished to free static resources - rtc::Cleanup(); - this_thread::sleep_for(1s); - cout << "Success" << endl; }