Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#18 Use weak references for Peers constructed from Java end

open
nobody
None
5
2005-07-20
2005-07-20
Gili Tzabari
No

Currently Jace always uses strong references to Peers
that get constructed so users have to explicitly
dispose() them.

Ideally we should be able to use weak references if the
Peer is created on the Java end. The garbage collector
would then clean up the Peer automatically when no
strong references remain.

Discussion