Added PeerConnection::close() calls to test

This commit is contained in:
Paul-Louis Ageneau
2019-12-16 12:21:25 +01:00
parent 1d7d1358be
commit 8b64f8a406
2 changed files with 4 additions and 3 deletions

View File

@ -102,8 +102,8 @@ int main(int argc, char **argv) {
this_thread::sleep_for(3s);
if (dc1->isOpen() && dc2->isOpen()) {
dc1->close();
dc2->close();
pc1->close();
pc2->close();
cout << "Success" << endl;
return 0;