Don't add null TryCatchOperations
This commit is contained in:
@@ -112,6 +112,7 @@ namespace Torch.Managers.PatchManager.MSIL
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
TryCatchOperations.Clear();
|
TryCatchOperations.Clear();
|
||||||
|
if (value != null)
|
||||||
TryCatchOperations.Add(value);
|
TryCatchOperations.Add(value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user