@PreDestroy methods not being called [message #732152] |
Tue, 04 October 2011 00:54  |
Eclipse User |
|
|
|
I've created small e4 based RCP app but am having difficulty with the @PreDestroy annotation. Specifically nothing marked with one seems to ever be called when I close my app. I've tried with my views and addons, even checked CommandProcessingAddon, but they're never called. This seems a bit extreme, so rather than file a bug I'm suspecting some issue or misunderstanding on my end. I'm running under 4.2M2. Is there something I'm missing?
I've tried dropping breakpoints in InjectorImpl, but neither uninject( ) nor disposed( ) are ever called.
|
|
|
Re: @PreDestroy methods not being called [message #732197 is a reply to message #732152] |
Tue, 04 October 2011 03:53  |
Eclipse User |
|
|
|
Hi,
Most likely you are seeing
https://bugs.eclipse.org/bugs/show_bug.cgi?id=348069
Tom
Am 04.10.11 06:54, schrieb Kory Markevich:
> I've created small e4 based RCP app but am having difficulty with the
> @PreDestroy annotation. Specifically nothing marked with one seems to
> ever be called when I close my app. I've tried with my views and addons,
> even checked CommandProcessingAddon, but they're never called. This
> seems a bit extreme, so rather than file a bug I'm suspecting some issue
> or misunderstanding on my end. I'm running under 4.2M2. Is there
> something I'm missing?
>
> I've tried dropping breakpoints in InjectorImpl, but neither uninject( )
> nor disposed( ) are ever called.
>
|
|
|
Powered by
FUDForum. Page generated in 0.03400 seconds