prevent logging exception
This commit is contained in:
parent
89db232375
commit
75192f0372
1 changed files with 3 additions and 1 deletions
|
@ -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) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue