Fixing a potential NullPointerException at the NetworkService
This commit is contained in:
parent
a28775d464
commit
35570cb4a6
1 changed files with 2 additions and 1 deletions
|
@ -215,6 +215,7 @@ public class NetworkService extends Service {
|
|||
if(mWebSocket != null)
|
||||
mWebSocket.close(NORMAL_CLOSURE_STATUS, null);
|
||||
|
||||
if(nodeLatencyVerifier != null)
|
||||
nodeLatencyVerifier.stop();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue