Fixed NullPointerException and minor improvements

This commit is contained in:
2015-10-24 20:59:24 +02:00
parent f5bf5c8bca
commit 725089c604
4 changed files with 80 additions and 79 deletions

View File

@ -91,7 +91,7 @@ public class BitmessageService extends Service {
@Override
public void onDestroy() {
bmc.shutdown();
if (bmc.isRunning()) bmc.shutdown();
running = false;
}