hadashiA / VContainer

The extra fast, minimum code size, GC-free DI (Dependency Injection) library running on Unity Game Engine.
https://vcontainer.hadashikick.jp
MIT License
1.97k stars 172 forks source link

Shared8Limit cause memory leak #534

Closed lichangjian closed 1 year ago

lichangjian commented 1 year ago

public static readonly CappedArrayPool<T> Shared8Limit = new CappedArrayPool<T>(8); Shared8Limit is static, and the objects stored within it do not trigger garbage collection. even if I have disposed the Resolver

hadashiA commented 1 year ago

Fixed in #535