Fixed call to usrsctp_finish() in Cleanup()

This commit is contained in:
Paul-Louis Ageneau
2020-05-22 14:55:01 +02:00
parent 3a737e940c
commit ddb9f99ed6
5 changed files with 23 additions and 1 deletions

View File

@ -140,5 +140,9 @@ 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;
}