Skip to content

Commit 217ba59

Browse files
committed
Update cpp-adapter.cpp
1 parent 09da582 commit 217ba59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/cpp/cpp-adapter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ struct MultithreadingModule : jni::JavaClass<MultithreadingModule> {
7070
__android_log_write(ANDROID_LOG_INFO, TAG, "Creating JSExecutorFactory..");
7171
try {
7272
// JNI needs to attach this thread because this function is being called from a different Thread
73-
ThreadScope scope;
73+
__unused ThreadScope scope; // RAII
7474

7575
std::shared_ptr<react::ExecutorDelegate> delegate = std::shared_ptr<react::ExecutorDelegate>();
7676
std::shared_ptr<react::MessageQueueThread> jsQueue = std::shared_ptr<react::MessageQueueThread>();

0 commit comments

Comments
 (0)