cleaning up weak reference caches with finalizers?

前端 未结 0 398
遇见更好的自我
遇见更好的自我 2021-01-18 04:17

Assume I have a cache that consists of weak or soft references.

Those weak/soft references need to be closed at some point.

Ideally, the objects should be clos

相关标签:
回答
  • 消灭零回复
提交回复
热议问题