Skip to content

Commit 4043f28

Browse files
authored
refactor: move receive thread to JS side (#23)
1 parent 8b3aaef commit 4043f28

File tree

8 files changed

+308
-312
lines changed

8 files changed

+308
-312
lines changed

android/cpp-adapter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Java_com_jsiudp_JsiUdpModule_nativeInstall(JNIEnv *env, jclass _, jlong jsiPtr,
1616
}->cthis()->getCallInvoker()
1717
};
1818

19-
manager = std::make_shared<jsiudp::UdpManager>(runtime, std::move(jsCallInvoker));
19+
manager = std::make_shared<jsiudp::UdpManager>(runtime);
2020
}
2121

2222
extern "C"

0 commit comments

Comments
 (0)