kopia lustrzana https://github.com/ge0rg/aprsdroid
service: silence unregister crash of not registered Receiver
rodzic
b607a9f8a4
commit
800d30fdd3
|
@ -218,7 +218,9 @@ class AprsService extends Service {
|
||||||
}
|
}
|
||||||
msgService.stop()
|
msgService.stop()
|
||||||
locSource.stop()
|
locSource.stop()
|
||||||
unregisterReceiver(msgNotifier)
|
scala.util.control.Exception.ignoring(classOf[IllegalArgumentException]) {
|
||||||
|
unregisterReceiver(msgNotifier)
|
||||||
|
}
|
||||||
ServiceNotifier.instance.stop(this)
|
ServiceNotifier.instance.stop(this)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue