Add null checks

This commit is contained in:
Manfred Karrer 2014-11-13 11:19:14 +01:00
parent fe0dcb510c
commit 2521023025

View file

@ -285,7 +285,9 @@ public class WalletService {
}
public void shutDown() {
if (wallet != null)
wallet.removeEventListener(walletEventListener);
if (walletAppKit != null)
walletAppKit.stopAsync();
}