Fix sizeof struct within generic type instance

#1219
This commit is contained in:
Wojtek Figat
2023-07-03 11:42:15 +02:00
parent aaf349170c
commit 9a1fd12a85
5 changed files with 31 additions and 9 deletions

View File

@@ -885,6 +885,7 @@ namespace FlaxEngine.Interop
handle.Free();
fieldHandleCacheCollectible.Clear();
#endif
_typeSizeCache.Clear();
foreach (var pair in classAttributesCacheCollectible)
pair.Value.Free();