prevent logging exception

This commit is contained in:
Milos Kozak 2017-01-07 23:38:59 +01:00
parent 89db232375
commit 75192f0372

View file

@ -176,7 +176,9 @@ public class PersistentNotificationPlugin implements PluginBase{
if(fragmentEnabled){
MainApp.bus().register(this);
} else {
MainApp.bus().unregister(this);
try {
MainApp.bus().unregister(this);
} catch (Exception e) {}
}
}