Commit 2c5b605
committed
Remove document listener from document on handleDispose()
UpdateDocumentListener is added to document but not always removed in
ProjectionViewer, regression introduced by commit
1848058
This fixes only one possible leak, where a single document was used in
ProjectionViewer, to unblock JDT UI tests.
Fixes eclipse-jdt/eclipse.jdt.ui#25321 parent d77df82 commit 2c5b605
File tree
1 file changed
+6
-0
lines changed- bundles/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1480 | 1480 | | |
1481 | 1481 | | |
1482 | 1482 | | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
1483 | 1489 | | |
1484 | 1490 | | |
1485 | 1491 | | |
| |||
0 commit comments