We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8660812 commit bc27c28Copy full SHA for bc27c28
dart_native/android/src/main/jni/dart_native.cpp
@@ -30,7 +30,6 @@ extern "C"
30
void _addGlobalObject(jobject globalObject, jclass globalClass)
31
{
32
globalReferenceMtx.lock();
33
- std::lock_guard<std::mutex> lk(globalReferenceMtx);
34
std::pair<jclass, int> objPair = std::make_pair(globalClass, 0);
35
objectGlobalReference[globalObject] = objPair;
36
globalReferenceMtx.unlock();
0 commit comments