Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36da79d6 authored by Philip Whitehouse's avatar Philip Whitehouse
Browse files

Check recipientPresenter exists before destroying it - #1876

parent 217b5bf9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -533,6 +533,7 @@ public class MessageCompose extends K9Activity implements OnClickListener,
    public void onDestroy() {
        super.onDestroy();

        if (recipientPresenter != null)
            recipientPresenter.onActivityDestroy();
    }