From 66c7795046b94a7a209a7e827cbd34531f5f24e9 Mon Sep 17 00:00:00 2001 From: biezhihua Date: Thu, 19 Sep 2024 09:51:04 +0800 Subject: [PATCH] fix js error --- .../src/main/kotlin/com/alibaba/gaiax/js/GXJSEngine.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GaiaXAndroidJS/src/main/kotlin/com/alibaba/gaiax/js/GXJSEngine.kt b/GaiaXAndroidJS/src/main/kotlin/com/alibaba/gaiax/js/GXJSEngine.kt index 74c090926..9d2893405 100644 --- a/GaiaXAndroidJS/src/main/kotlin/com/alibaba/gaiax/js/GXJSEngine.kt +++ b/GaiaXAndroidJS/src/main/kotlin/com/alibaba/gaiax/js/GXJSEngine.kt @@ -135,7 +135,7 @@ class GXJSEngine { Log.d("startDefaultEngine()") } synchronized(EngineType.QuickJS) { - if (debugEngine == null) { + if (quickJSEngine == null) { // 创建引擎 quickJSEngine = createJSEngine(EngineType.QuickJS)