mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
protect getstate against early call to tracing subsystem
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@372 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
df5bc2715c
commit
a88326d908
1 changed files with 1 additions and 1 deletions
|
|
@ -452,7 +452,7 @@ public static int getState() {
|
|||
isReady();
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue