Commit 391dafc
committed
Dispose leftover shells in WorkbenchContextExtension cleanup
The dispose() method calls wb.close() which removes GUI for
application windows, but does not dispose shells created as side
effects (e.g. PartRenderingEngine's limbo shell). These accumulate
across test methods, causing many unexpected windows to open.
Explicitly dispose all remaining shells after wb.close() to ensure
a clean state between test methods.
See #38931 parent e6c1136 commit 391dafc
File tree
1 file changed
+10
-0
lines changed- tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/rules
1 file changed
+10
-0
lines changedLines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
93 | 103 | | |
94 | 104 | | |
95 | 105 | | |
| |||
0 commit comments