[510279] Fix potential NPE in AbstractEEFWidgetLifecycleManager

AbstractEEFWidgetLifecycleManager.lockedBy* are called asynchronously
and sometimes this can occur at a time when the ControlDecoration has
been disposed, causing NPEs in ControlDecoration.setImage() when it
accesses control.getShell(). ControlDecoration does not have an
isDisposed() method, but testing for getControl() != null is
equivalent.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=510279
Change-Id: Icf155151eacbdbf50db4161955222f566dadf70e
Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
1 file changed
tree: 49cf5edc2c526f0f79d873bad30bf56d7fca0c49
  1. doc/
  2. features/
  3. plugins/
  4. prototypes/
  5. releng/
  6. samples/
  7. tests/
  8. .gitignore