| Summary: | Dojo Widgets not cleaning connections | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Anton McConville <antonm> |
| Component: | Client | Assignee: | Project Inbox <orion.client-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ahunter.eclipse |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Anton McConville
we'll stop using connect/disconnect but we need to ensure that the dijit-less versions of our dialogs are still cleaning up (addEventListener/removeEventListener) I think the main place to examine for cleanup is commands, since the command buttons (and tooltips) often get replaced in the same page. (For example if the editor hash or navigator hash changes). We already call "commandService.destroy" in these cases, so we would probably want to do all our disconnects from buttons/links and also tooltip node removal at this time. changing dependencies. This doesn't block "library independence" but needs to get done in 2.0 (In reply to Anton McConville from comment #0) > Noticed whilst browsing the code that some Dojo Widgets are not [snip] The Orion client no longer uses Dojo so this defect is not applicable. |