[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform] Check if a user operation is blocked by background thread
|
Currently our project [eclipse-ccase] has the nasty feature that it
continues to run a background [refresh status] job when the user decides
to exit eclipse.
A "Progress Information" dialog is shown stating that "The user operation
is waiting for background work to complete".
I would like to clear my jobqueue when the users quits the application.
My question?
How can i figure out that the user has decided to quit the application?
We have tried the following but to no avail
* Job.isBlocking() returns false
* systemBundle.getState() == Bundle.STOPPING returns false
Any other things i could check?
Greetings
Roel De Meester