Comment #51 on issue 288 by [email protected]: FinalizableReferenceQueue still leaks
http://code.google.com/p/google-guice/issues/detail?id=288

Let me, explain...

Initialize Executor on injector instance

  Injector injector = Guice.createInjector(myModule, myExecutor);

You can initialize Executor on Injector constructor => new Injector(myExecutor)
or init method after constructor call => new Injector().init(myExecutor)

Destroying, with non static method (using "previous" instance of injector)

  injector.destroy();

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" 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-dev?hl=en.

Reply via email to