On Tue, Oct 28, 2008 at 6:37 PM, Gili Tzabari <[EMAIL PROTECTED]>wrote:
> What about the fact that we can hook servlet shutdown? Would it be > possible for FinalizableReferenceQueue's thread to shut down cleanly if > asked? > That's a possibility, but right now, FinalizableReferenceQueue isn't exposed in the published API at all. I'd rather not do so, especially considering you can just put Guice in your system classpath during development and work around the problem. > BTW: What's the point of FinalizableReferenceQueue anyway? It's not > like you're doing some sort of disposal once the Reference gets queued. > Why use a ReferenceQueue at all? It does do disposal (finalizeReferent() in the old code, Runnable.run() in the new code). Bob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-guice?hl=en -~----------~----~----~----~------~----~------~--~---
