Hi Janak

Thanks for the clarification. That helps.

I've opened UBA-6930 regarding a client-side hook to release resources:
https://www.canoo.com/jira/browse/UBA-6930

Etienne



> -----Original Message-----
> From: Janak Mulani [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 23, 2006 2:55 AM
> To: Etienne Studer
> Cc: [EMAIL PROTECTED]
> Subject: RE: [ULC-developer] releasing ULCproxy marked as
uncollectable
> 
> Hi Etienne,
> 
> ULCSession#markCollectable(ULCProxy proxy) : makes a previously
> uncollectable proxy collectable.
> 
> Once a proxy is made collactable, it will be collected by the gc. The
> client
> will be informed about stale objects in the next roundtrip and
references
> from the client side registry will be removed. Subsequently the client
> side
> objects will be collected when the gc runs on the client.
> 
> There is no hook on the client side for releasing client side
> objects/resources.
> 
> I hope this helps.
> 
> Thanks and regards,
> 
> Janak
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Etienne
Studer
> Sent: Tuesday, May 23, 2006 1:20 AM
> To: [EMAIL PROTECTED]
> Subject: [ULC-developer] releasing ULCproxy marked as uncollectable
> 
> 
> Hi
> 
> ULC 6.0.4
> 
> I have a direct ULCProxy sub class which marks itself as
uncollectable:
> ULCProxy#markUncollectable()
> 
> At some well-defined point in the lifetime of the ULC session, I want
to
> release this proxy so it can be garbage-collected on both the
server-side
> and client-side.
> 
> How can I achieve this on the server-side and what do I have to
implement
> on
> the client-side? Also, is there a hook on the client-side that allows
me
> to
> release any (client-side) resources that I hold onto?
> 
> Thanks for your clarification.
> 
> Etienne
> 
> 
> 

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to