Fixed null pointer from un-instantiated BluetoothCrashResolver use in onDestroy
@@ -330,7 +330,9 @@ public class BeaconService extends Service {
if (mBeaconNotificationProcessor != null) {
mBeaconNotificationProcessor.unregister();
}
+ if (bluetoothCrashResolver != null) {
bluetoothCrashResolver.stop();
+ }
LogManager.i(TAG, "onDestroy called. stopping scanning");
handler.removeCallbacksAndMessages(null);
