Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » @PreDestroy methods not being called
@PreDestroy methods not being called [message #732152] Tue, 04 October 2011 04:54 Go to next message
Kory Markevich is currently offline Kory MarkevichFriend
Messages: 2
Registered: July 2009
Junior Member
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 07:53 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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.
>
Previous Topic:Change Part size dynamically
Next Topic:JFreeChartFactory?
Goto Forum:
  


Current Time: Fri Mar 29 09:08:39 GMT 2024

Powered by FUDForum. Page generated in 0.02873 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top