Fix wakelock possible leak in android on Linphone destroy

This commit is contained in:
Erwan Croze 2017-04-06 12:08:24 +02:00
parent d8568491eb
commit ed813724f7

View file

@ -333,8 +333,8 @@ class LinphoneCoreImpl implements LinphoneCore {
return new LinphoneCallLogImpl(callLog);
}
public synchronized void destroy() {
setAndroidPowerManager(null);
delete(nativePtr);
setAndroidPowerManager(null);
nativePtr=0;
}