mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 858176 - Free global reference before detaching the JVM. r=blassey
This commit is contained in:
parent
ac1813bcc2
commit
09330d7a52
@ -255,12 +255,12 @@ WebRtc_Word32 DeviceInfoAndroid::CreateCapabilityMap(
|
||||
deviceUniqueIdUTF8,
|
||||
_lastUsedDeviceNameLength + 1);
|
||||
|
||||
env->DeleteGlobalRef(javaCapClass);
|
||||
|
||||
VideoCaptureAndroid::ReleaseAndroidDeviceInfoObjects(attached);
|
||||
WEBRTC_TRACE(webrtc::kTraceInfo, webrtc::kTraceVideoCapture, _id,
|
||||
"CreateCapabilityMap %d", _captureCapabilities.Size());
|
||||
|
||||
env->DeleteGlobalRef(javaCapClass);
|
||||
|
||||
return _captureCapabilities.Size();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user