Bug 510944 - Fix memory leak in EclipseContext

In multiuser environment (RAP) EclipseContext#notifyOnDisposal set keeps
a reference to already disposed display object (through UISynchronize)
after the context is disposed.

Clear EclipseContext#notifyOnDisposal set after the listeners are
notified in dispose().

510944: Memory leak in EclipseContext
https://bugs.eclipse.org/bugs/show_bug.cgi?id=510944

Change-Id: Ia4d1f6b116a9df35f57a07d07c82c0ced040dba1
Signed-off-by: Ivan Furnadjiev <ivan@eclipsesource.com>
(cherry picked from commit bc866e66a5a397bb1363843e4106fd47a6009aef)
2 files changed
tree: 9a11644810089b3dd5fe44a733f44ab2bc16c0fe
  1. bundles/
  2. features/
  3. tests/
  4. .gitignore
  5. CONTRIBUTING.md
  6. pom.xml