Remove `shutdown()` hack, which does not work any more with dynamic API keys.

This commit is contained in:
Felix Ableitner 2014-09-15 00:32:32 +03:00
parent a375619ed7
commit 84afda30a0
1 changed files with 0 additions and 5 deletions

View File

@ -245,11 +245,6 @@ public class SyncthingService extends Service {
});
registerOnWebGuiAvailableListener(mApi);
Log.i(TAG, "Web GUI will be available at " + mConfig.getWebGuiUrl());
// HACK: Make sure there is no syncthing binary left running from an improper
// shutdown (eg Play Store update).
// NOTE: This will log an exception if syncthing is not actually running.
mApi.shutdown();
updateState();
}
}