Fix ManagedDictionary cache to be cleared on hot-reload

This commit is contained in:
Wojtek Figat
2025-06-09 17:19:36 +02:00
parent d7ff9fdade
commit 89c7f4b0a3
3 changed files with 12 additions and 9 deletions

View File

@@ -3,7 +3,7 @@
#include "ManagedDictionary.h"
#if USE_CSHARP
Dictionary<ManagedDictionary::KeyValueType, MTypeObject*> ManagedDictionary::CachedDictionaryTypes;
Dictionary<ManagedDictionary::KeyValueType, MTypeObject*> ManagedDictionary::CachedTypes;
#if !USE_MONO_AOT
ManagedDictionary::MakeGenericTypeThunk ManagedDictionary::MakeGenericType;
ManagedDictionary::CreateInstanceThunk ManagedDictionary::CreateInstance;