Утечки: картинки глав книги, материал кольца пирамиды, мелочи прилива
- Книга: картинка главы при смене главы не удалялась (~2 МБ за смену) - удаляем сами при смене, у главы без картинки и при закрытии окна. - Пирамида: кольцо зоны создавало новый материал при каждой перезагрузке чанка - теперь один общий. - Прилив: не держать стат игрока после выхода из мира; забывать полосы пересобранного HUD. - SpatialVaultPatch: исправлен устаревший комментарий про очистку кэша. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
75e122b6a4
commit
7fd0d405cc
@@ -68,8 +68,10 @@ namespace NecromancerTome
|
||||
public const float ShoveDistance = 6f;
|
||||
|
||||
/// <summary>Session cache only - the durable copy lives on disk, see
|
||||
/// SpatialVaultPersistence.cs. Cleared on WorldShuttingDown so a different save loaded
|
||||
/// afterwards cannot inherit this world's vault through a recycled entityId.</summary>
|
||||
/// SpatialVaultPersistence.cs. NOT cleared on WorldShuttingDown any more (that event fires before
|
||||
/// the final player save and wiped vaults - see SpatialVaultPersistence.cs); a different save cannot
|
||||
/// inherit this world's vault because ToPlayer overwrites or removes the entry on load. Leftover entries
|
||||
/// are at most one per world loaded in a session - not a growing leak (checked 10.10).</summary>
|
||||
public static readonly Dictionary<int, Bag> PlayerVaults = new Dictionary<int, Bag>();
|
||||
|
||||
public static bool Prefix(ItemActionData _actionData, bool _bReleased)
|
||||
|
||||
Reference in New Issue
Block a user