Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 146471 Details for
Bug 288596
[Patch] CompareEditor should dispose previous input
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
CompareEditor-disconnectFromInput-patch
CompareEditor-dispose-prev-input.patch (text/plain), 906 bytes, created by
Alex Panchenko
on 2009-09-04 00:50:21 EDT
(
hide
)
Description:
CompareEditor-disconnectFromInput-patch
Filename:
MIME Type:
Creator:
Alex Panchenko
Created:
2009-09-04 00:50:21 EDT
Size:
906 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.compare >Index: compare/org/eclipse/compare/internal/CompareEditor.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/internal/CompareEditor.java,v >retrieving revision 1.80 >diff -u -r1.80 CompareEditor.java >--- compare/org/eclipse/compare/internal/CompareEditor.java 22 Jun 2009 10:07:23 -0000 1.80 >+++ compare/org/eclipse/compare/internal/CompareEditor.java 4 Sep 2009 04:48:11 -0000 >@@ -331,6 +331,9 @@ > new SaveablesLifecycleEvent(this, SaveablesLifecycleEvent.POST_CLOSE, (Saveable[]) knownSaveables.toArray(new Saveable[knownSaveables.size()]), false)); > knownSaveables.clear(); > } >+ if (oldInput instanceof CompareEditorInput) { >+ ((CompareEditorInput) oldInput).dispose(); >+ } > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 288596
: 146471