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 183315 Details for
Bug 330464
multiPageEditor template leaks SWT Font
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
PDE templates patch v1
bug330464-patch-v1.txt (text/plain), 887 bytes, created by
Remy Suen
on 2010-11-17 11:44:49 EST
(
hide
)
Description:
PDE templates patch v1
Filename:
MIME Type:
Creator:
Remy Suen
Created:
2010-11-17 11:44:49 EST
Size:
887 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.pde.ui.templates >Index: templates_3.0/multiPageEditor/java/$editorClassName$.java >=================================================================== >RCS file: /cvsroot/eclipse/pde/ui/org.eclipse.pde.ui.templates/templates_3.0/multiPageEditor/java/$editorClassName$.java,v >retrieving revision 1.1 >diff -u -r1.1 $editorClassName$.java >--- templates_3.0/multiPageEditor/java/$editorClassName$.java 12 Nov 2006 09:01:05 -0000 1.1 >+++ templates_3.0/multiPageEditor/java/$editorClassName$.java 17 Nov 2010 16:43:52 -0000 >@@ -129,6 +129,9 @@ > * Subclasses may extend. > */ > public void dispose() { >+ // SWT resources like fonts must be explicitly disposed when they are no longer needed >+ if (font != null) >+ font.dispose(); > ResourcesPlugin.getWorkspace().removeResourceChangeListener(this); > super.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 330464
: 183315