set null
This commit is contained in:
parent
1127f0dd88
commit
805234deb7
|
@ -54,6 +54,7 @@ public class EthereumService extends Service {
|
||||||
public void onDestroy() {
|
public void onDestroy() {
|
||||||
if (jsonRpcServerThread != null) {
|
if (jsonRpcServerThread != null) {
|
||||||
jsonRpcServerThread.interrupt();
|
jsonRpcServerThread.interrupt();
|
||||||
|
jsonRpcServerThread = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue