[580408] Avoid NPE in title builder job when closing SMV too fast01/194801/4
commita640f8c8dc1a43c5bb35968bae94e0bf55da096b
authorMartin Fleck <mfleck@eclipsesource.com>
Wed, 20 Jul 2022 08:01:44 +0000 (20 10:01 +0200)
committerMartin Fleck <mfleck@eclipsesource.com>
Wed, 20 Jul 2022 08:49:00 +0000 (20 04:49 -0400)
tree41a5e8b9f40f185a9f57acaa09df84435bf8de1f
parent3c1c90067f1dd3c470b9b8d1c9499b644acc9107
[580408] Avoid NPE in title builder job when closing SMV too fast

- Ensure title builder job is stopped before disposing comparison
- Only compute title in job if necessary
- Guard calculation in title builder for NPEs

Bug: 580408
Change-Id: If0876e324037fe95e3924bb9e3c074714eacea94
plugins/org.eclipse.emf.compare.ide.ui/src/org/eclipse/emf/compare/ide/ui/internal/structuremergeviewer/EMFCompareStructureMergeViewer.java