[fix] 修复 MethodBridge.Analyzer::TryAddAndWalkGenericType 某些情况下抛出空指针异常的bug
parent
15319a59fa
commit
276307dc51
|
@ -53,6 +53,10 @@ namespace HybridCLR.Editor.MethodBridge
|
||||||
|
|
||||||
private void TryAddAndWalkGenericType(GenericClass gc)
|
private void TryAddAndWalkGenericType(GenericClass gc)
|
||||||
{
|
{
|
||||||
|
if (gc == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
lock(_lock)
|
lock(_lock)
|
||||||
{
|
{
|
||||||
gc = gc.ToGenericShare();
|
gc = gc.ToGenericShare();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "com.focus-creative-games.hybridclr_unity",
|
"name": "com.focus-creative-games.hybridclr_unity",
|
||||||
"version": "0.7.0",
|
"version": "0.7.1",
|
||||||
"displayName": "HybridCLR",
|
"displayName": "HybridCLR",
|
||||||
"description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR",
|
"description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR",
|
||||||
"category": "Runtime",
|
"category": "Runtime",
|
||||||
|
|
Loading…
Reference in New Issue