Fixed NullPointerException and minor improvements
This commit is contained in:
@ -91,7 +91,7 @@ public class BitmessageService extends Service {
|
||||
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
bmc.shutdown();
|
||||
if (bmc.isRunning()) bmc.shutdown();
|
||||
running = false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user