Improve stability by fixing various crashes with dotnet7

This commit is contained in:
Wojtek Figat
2023-04-18 12:36:33 +02:00
parent 024dd74ae1
commit f046642ba7
8 changed files with 37 additions and 38 deletions

View File

@@ -205,7 +205,7 @@ bool AnimGraph::InitCustomNode(Node* node)
// Allocate managed node object (create GC handle to prevent destruction)
MObject* obj = type->CreateInstance();
const MGCHandle handleGC = MCore::GCHandle::New(obj, false);
const MGCHandle handleGC = MCore::GCHandle::New(obj);
// Initialize node
InternalInitData initData;