I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 89140819 authored by zzz's avatar zzz
Browse files

UPnP: Don't rescan when shutting down

parent 9a8fa246
No related branches found
No related tags found
No related merge requests found
......@@ -139,6 +139,8 @@ class UPnPManager {
public synchronized void rescan() {
if (!_shouldBeRunning)
return;
if (_context.router().gracefulShutdownInProgress())
return;
long now = System.currentTimeMillis();
if (_lastRescan + RESCAN_MIN_DELAY > now)
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment