1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00
This commit is contained in:
hypnosis-i2p 2016-07-13 19:40:09 +08:00
parent a3286ebac3
commit e24eea313c

View File

@ -208,8 +208,9 @@ public class I2PD extends Activity {
Log.d(TAG, "grac stopping"); Log.d(TAG, "grac stopping");
if(daemon.isStartedOkay()) { if(daemon.isStartedOkay()) {
daemon.stopAcceptingTunnels(); daemon.stopAcceptingTunnels();
setGracefulQuitTimer(new Timer(true)); Timer gracefulQuitTimer = new Timer(true);
getGracefulQuitTimer().schedule(new TimerTask(){ setGracefulQuitTimer(gracefulQuitTimer);
gracefulQuitTimer.schedule(new TimerTask(){
@Override @Override
public void run() { public void run() {