At 06:01 PM 5/5/00 -0700, Ben Wing wrote:
andy, i've noticed some other code that uses weak hashtables etc.
to gcpro
things,
e.g. the callbacks. in general i think this is a bad idea; if
there's an
easy place
to manually remove things, you should always do that instead, because
it's
much safer
and the consequences are more obvious.
You're probably right. I have had to chase down many things lately where
the (lack of) order in which things are GC'd makes it difficult to maintain
consistent state.
andy
--------------------------------------------------------------
Dr Andy Piper
Principal Consultant, BEA Systems Ltd