mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 761399 - RefCountedJavaObject::mRefCnt is not initialized r=kats
--HG-- extra : rebase_source : 901a1ca9e69f08b3f049c565a01fd338edffb11b
This commit is contained in:
parent
822c3827ab
commit
f5c963eae5
@ -43,7 +43,7 @@ void InitAndroidJavaWrappers(JNIEnv *jEnv);
|
||||
|
||||
class RefCountedJavaObject {
|
||||
public:
|
||||
RefCountedJavaObject(JNIEnv* env, jobject obj) : mObject(env->NewGlobalRef(obj)) {}
|
||||
RefCountedJavaObject(JNIEnv* env, jobject obj) : mRefCnt(0), mObject(env->NewGlobalRef(obj)) {}
|
||||
|
||||
~RefCountedJavaObject();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user