Commit a88326d9 authored by jehan's avatar jehan
Browse files

protect getstate against early call to tracing subsystem

git-svn-id: svn+ssh:// 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent df5bc271
......@@ -452,7 +452,7 @@ public static int getState() {
return P2pProxylauncherConstants.P2PPROXY_CONNECTED;
} catch (P2pProxyException e) {
mLog.error("cannot get state",e);
if (mLog != null) mLog.error("cannot get state",e);
return P2pProxylauncherConstants.P2PPROXY_NOT_CONNECTED;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment