11 results for “topic:weakreference”
Weakly is a collection of some useful weak-reference types.
Powerfull Collections, Sets, Lists and Maps.
Cache powered by weak references for Dart
A sample project for https://www.thuytrinh.dev/weakref-misuse-kotlin/
Handler内存泄漏的处理方法
Delegate, event, and `Action` wrappers that treat targets as "dead" when they are collected by the GC (plain C# objects) or destroyed in Unity (`UnityEngine.Object`). Reduces memory leaks and ghost callbacks.
Polyfill of WeakMap/WeakReference for older PHP versions. This is a fork of the abandoned "weakref" PECL (https://github.com/colder/php-weakref)
Simple yet powerful RPC client built on top of postMessage.
Explains the lifecycle of an AsyncTask when the activity is in OnPause state or when the activity gets destroyed or when the application gets destroyed. Uses Weak reference of the host Activity to avoid memory leak issues in case the user destroys the host activity but the async task is still functioning.
Better support for java.lang.ref in Kotlin
Item cache that makes entries weakly referenced on demand