Commit 0fc70bb
committed
Remove document listener from *old* document on setDocument()
UpdateDocumentListener is added to document but not always removed in
ProjectionViewer, regression introduced by commit
1848058
This fixes remaining possible leak, where *multiple* documents were used
in ProjectionViewer.
See eclipse-jdt/eclipse.jdt.ui#25321 parent 6877297 commit 0fc70bb
File tree
1 file changed
+12
-10
lines changed- bundles/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection
1 file changed
+12
-10
lines changedLines changed: 12 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
| 403 | + | |
403 | 404 | | |
404 | 405 | | |
405 | 406 | | |
| |||
413 | 414 | | |
414 | 415 | | |
415 | 416 | | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
416 | 426 | | |
417 | 427 | | |
418 | 428 | | |
| |||
554 | 564 | | |
555 | 565 | | |
556 | 566 | | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
| 567 | + | |
561 | 568 | | |
562 | 569 | | |
563 | 570 | | |
| |||
1480 | 1487 | | |
1481 | 1488 | | |
1482 | 1489 | | |
1483 | | - | |
1484 | | - | |
1485 | | - | |
1486 | | - | |
1487 | | - | |
1488 | | - | |
| 1490 | + | |
1489 | 1491 | | |
1490 | 1492 | | |
1491 | 1493 | | |
| |||
0 commit comments