fixed infinite loop bug

This commit is contained in:
orignal 2016-11-18 10:27:49 -05:00
parent 93b8bd7f02
commit 12b9b49902

View File

@ -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 ();
}
}
}