[fix] 修复生成桥接函数时不必要地多次调用 CleanIl2CppBuildCache,并有可能因并发清除而抛出异常的问题
parent
419c3a98f6
commit
0edd822101
|
@ -42,7 +42,6 @@ namespace HybridCLR.Editor.Commands
|
|||
g.PrepareMethods();
|
||||
g.Generate();
|
||||
Debug.LogFormat("== output:{0} ==", outputFile);
|
||||
CleanIl2CppBuildCache();
|
||||
}
|
||||
|
||||
[MenuItem("HybridCLR/Generate/MethodBridge", priority = 101)]
|
||||
|
@ -92,6 +91,7 @@ namespace HybridCLR.Editor.Commands
|
|||
Task.WaitAll(tasks.ToArray());
|
||||
}
|
||||
|
||||
CleanIl2CppBuildCache();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "com.focus-creative-games.hybridclr_unity",
|
||||
"version": "1.1.8",
|
||||
"version": "1.1.9",
|
||||
"displayName": "HybridCLR",
|
||||
"description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR",
|
||||
"category": "Runtime",
|
||||
|
|
Loading…
Reference in New Issue