diff options
author | Sven Gothel <[email protected]> | 2013-07-04 20:19:35 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-07-04 20:19:35 +0200 |
commit | 99479bf3197cde8e89c5b499d135417863d521c7 (patch) | |
tree | fd4ae1f0532c750a3ac02af2edb74ed83ebf0743 /make/stub_includes/libav/libavutil/avstring.h | |
parent | 1d9e043f6e0acba2dde9d4afd57bc75141ed050f (diff) |
NEWT: Using WeakReferences for global cache of Display, Screen and Window instances; Removing ref. at API destroy() is wrong ; Allow GC to clear ..
- Removing ref. at API destroy() is wrong
- Since all instances can be recreated, removing ref at destroy() is simply wrong.
- Keep weak references until GC collects, i.e. user does not claim them anymore.
- Safe for Display, since it holds it's EDT thread.
- Window/Screen .. if user abandons reference .. nothing we can do here.
- Allow GC to clear ..
No need to hold ref loonger than user.
Diffstat (limited to 'make/stub_includes/libav/libavutil/avstring.h')
0 files changed, 0 insertions, 0 deletions