fix NPE
This commit is contained in:
parent
e577e8555d
commit
3c8b7f10be
1 changed files with 2 additions and 1 deletions
|
@ -324,7 +324,8 @@ public class NSClientService extends Service {
|
|||
return;
|
||||
}
|
||||
MainApp.bus().post(new EventNSClientNewLog("AUTH", "requesting auth"));
|
||||
mSocket.emit("authorize", authMessage, ack);
|
||||
if (mSocket != null)
|
||||
mSocket.emit("authorize", authMessage, ack);
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
|
|
Loading…
Reference in a new issue