mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Clear boundary
This commit is contained in:
@@ -603,6 +603,7 @@ public class ViewModelMessages extends ViewModel {
|
||||
@OnLifecycleEvent(Lifecycle.Event.ON_DESTROY)
|
||||
public void onDestroyed() {
|
||||
boundary.destroy(state);
|
||||
boundary = null;
|
||||
owner.getLifecycle().removeObserver(this);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user