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