Browse Source

fixed infinite loop bug

pull/718/head
orignal 8 years ago
parent
commit
12b9b49902
  1. 3
      UPnP.cpp

3
UPnP.cpp

@ -66,10 +66,13 @@ namespace transport @@ -66,10 +66,13 @@ namespace transport
try
{
m_Service.run ();
// Discover failed
break; // terminate the thread
}
catch (std::exception& ex)
{
LogPrint (eLogError, "UPnP: runtime exception: ", ex.what ());
PortMapping ();
}
}
}

Loading…
Cancel
Save