Commit c0b32a73 authored by Erwan Croze's avatar Erwan Croze 👋🏻
Browse files

Fix crash which happened sometime on remove of proxy config

parent d08be6e6
......@@ -278,7 +278,9 @@ class LinphoneCoreImpl implements LinphoneCore {
}
public synchronized void removeProxyConfig(LinphoneProxyConfig proxyCfg) {
isValid();
removeProxyConfig(nativePtr, ((LinphoneProxyConfigImpl) proxyCfg).nativePtr);
if (proxyCfg != null) {
removeProxyConfig(nativePtr, ((LinphoneProxyConfigImpl) proxyCfg).nativePtr);
}
}
public synchronized void clearAuthInfos() {
isValid();
......
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