avoid NPE (#330)
This commit is contained in:
parent
c2eed85a83
commit
0776b7b6a3
|
@ -179,7 +179,7 @@ public class WalletActivity extends SecureActivity implements WalletFragment.Lis
|
|||
saveWallet();
|
||||
}
|
||||
stopWalletService();
|
||||
drawer.removeDrawerListener(drawerToggle);
|
||||
if (drawer != null) drawer.removeDrawerListener(drawerToggle);
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue