Skip to content

Commit

Permalink
[unity]解决quickjs用例执行失败
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Dec 18, 2024
1 parent eeb3b91 commit 4cdd5f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion unity/test/Src/Cases/CrossLang/GenericTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,10 @@ public void CreateFunctionByMethodInfoTest()
");
Assert.AreEqual(ret, "Int321024");

jsEnv.Eval("gc()");
if (jsEnv.Backend is BackendV8)
{
jsEnv.Eval("gc()");
}

jsEnv.Tick();
}
Expand Down

0 comments on commit 4cdd5f1

Please sign in to comment.