Skip to content

Tag: weak-references

A rare usage of WeakReference?

I have a class whose instances are initialized and used by underlying flatform. Nothing’s wrong and I thought I need to add some static methods for being used as method references. Still nothing seems wrong (I believe) and I don’t like the instance persisted with the class and that’s why I&#…