Skip to content
Snippets Groups Projects
Commit 0ff10c3b authored by Olivier Dion's avatar Olivier Dion Committed by Adrien Béraud
Browse files

pupnp: Fix false positive error

Change-Id: I3c23b7ed144d5e26c030180d306cee0179c10b4d
parent 3c12d999
No related branches found
No related tags found
No related merge requests found
...@@ -236,10 +236,14 @@ PUPnP::terminate() ...@@ -236,10 +236,14 @@ PUPnP::terminate()
UpnpUnRegisterClient(ctrlptHandle_); UpnpUnRegisterClient(ctrlptHandle_);
if (initialized_) {
if (UpnpFinish() != UPNP_E_SUCCESS) { if (UpnpFinish() != UPNP_E_SUCCESS) {
JAMI_ERR("PUPnP: Failed to properly close lib-upnp"); JAMI_ERR("PUPnP: Failed to properly close lib-upnp");
} }
initialized_ = false;
}
// Clear all the lists. // Clear all the lists.
discoveredIgdList_.clear(); discoveredIgdList_.clear();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment