Skip to content

Commit 05c7897

Browse files
committed
chore: Fix runtime typo
1 parent b0a1190 commit 05c7897

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test-app/runtime/src/main/cpp/CallbackHandlers.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -826,10 +826,10 @@ void CallbackHandlers::EnableVerboseLoggingMethodCallback(
826826
const v8::FunctionCallbackInfo<v8::Value> &args) {
827827
try {
828828
auto isolate = args.GetIsolate();
829-
auto runtume = Runtime::GetRuntime(isolate);
829+
auto runtime = Runtime::GetRuntime(isolate);
830830
tns::LogEnabled = true;
831831
JEnv env;
832-
env.CallVoidMethod(runtume->GetJavaRuntime(), ENABLE_VERBOSE_LOGGING_METHOD_ID);
832+
env.CallVoidMethod(runtime->GetJavaRuntime(), ENABLE_VERBOSE_LOGGING_METHOD_ID);
833833
} catch (NativeScriptException &e) {
834834
e.ReThrowToV8();
835835
} catch (std::exception e) {
@@ -847,10 +847,10 @@ void CallbackHandlers::DisableVerboseLoggingMethodCallback(
847847
const v8::FunctionCallbackInfo<v8::Value> &args) {
848848
try {
849849
auto isolate = args.GetIsolate();
850-
auto runtume = Runtime::GetRuntime(isolate);
850+
auto runtime = Runtime::GetRuntime(isolate);
851851
tns::LogEnabled = false;
852852
JEnv env;
853-
env.CallVoidMethod(runtume->GetJavaRuntime(), DISABLE_VERBOSE_LOGGING_METHOD_ID);
853+
env.CallVoidMethod(runtime->GetJavaRuntime(), DISABLE_VERBOSE_LOGGING_METHOD_ID);
854854
} catch (NativeScriptException &e) {
855855
e.ReThrowToV8();
856856
} catch (std::exception e) {

0 commit comments

Comments
 (0)