i2psnark: Fix disappearing start button

This commit is contained in:
zzz
2017-02-27 19:51:38 +00:00
parent 2de25ca453
commit e995a4cf92
3 changed files with 10 additions and 5 deletions

View File

@ -2595,17 +2595,18 @@ public class SnarkManager implements CompleteListener {
DHT dht = _util.getDHT();
if (dht != null)
dht.stop();
// Schedule this even for final shutdown, as there's a chance
// that it's just this webapp that is stopping.
_context.simpleTimer2().addEvent(new Disconnector(), 60*1000);
addMessage(_t("Closing I2P tunnel after notifying trackers."));
if (finalShutdown) {
long toWait = 5*1000;
if (SystemVersion.isARM())
toWait *= 2;
try { Thread.sleep(toWait); } catch (InterruptedException ie) {}
_util.disconnect();
_stopping = false;
} else {
// Only schedule this if not a final shutdown
_context.simpleTimer2().addEvent(new Disconnector(), 60*1000);
}
_util.disconnect();
} else {
_util.disconnect();
_stopping = false;

View File

@ -1,3 +1,7 @@
2017-02-27 zzz
* i2psnark: Fix disappearing start button
* addressbook: Add date parameter to authentication strings
* 2017-02-27 0.9.29 released
2017-02-27 zzz

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 0;
public final static long BUILD = 1;
/** for example "-test" */
public final static String EXTRA = "";