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 fdfde26 commit 9062b8cCopy full SHA for 9062b8c
1 file changed
test-app/runtime/src/main/cpp/runtime/callbackhandlers/CallbackHandlers.cpp
@@ -1852,15 +1852,15 @@ void CallbackHandlers::TerminateWorkerThread(napi_env env) {
1852
try {
1853
Runtime::GetRuntime(env)->DestroyRuntime();
1854
} catch (NativeScriptException &e) {
1855
- e.ReThrowToNapi(env);
+ e.ReThrowToJava(nullptr);
1856
} catch (std::exception e) {
1857
std::stringstream ss;
1858
ss << "Error: c++ exception: " << e.what() << std::endl;
1859
NativeScriptException nsEx(ss.str());
1860
- nsEx.ReThrowToNapi(env);
+ nsEx.ReThrowToJava(nullptr);
1861
} catch (...) {
1862
NativeScriptException nsEx(std::string("Error: c++ exception!"));
1863
1864
}
1865
1866
0 commit comments