mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-22 09:00:30 +01:00
fixed infinite loop bug
This commit is contained in:
parent
93b8bd7f02
commit
12b9b49902
1 changed files with 3 additions and 0 deletions
3
UPnP.cpp
3
UPnP.cpp
|
@ -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…
Add table
Reference in a new issue