Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 BitmapSource 的集合,这些集合是通过将其 StreamSource 属性设置为字节数组的 MemoryStream 来创建的。使用它们后如何从内存中删除它们?
谢谢!
只需清除对它们的引用,垃圾收集器就会负责回收内存。