Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367473

Summary: Rename refactoring without dialog leaks memory
Product: [Tools] CDT Reporter: Marc-AndrĂ© Laperle <malaperle>
Component: cdt-refactoringAssignee: Sergey Prigogin <eclipse.sprigogin>
Status: RESOLVED FIXED QA Contact: Sergey Prigogin <eclipse.sprigogin>
Severity: major    
Priority: P3 CC: cdtdoug
Version: 8.0.1   
Target Milestone: 8.0.2   
Hardware: All   
OS: All   
Whiteboard:

Description Marc-André Laperle CLA 2011-12-23 01:56:03 EST
Tested with 8.0.1 and master 2012-12-21

1. Put a breakpoint in the constructor RefactoringWizardDialog2.RefactoringWizardDialog2(...) and a breakpoint in RefactoringWizardDialog2.close()
2. Rename something without using the dialog (Alt+shift+R), press enter.
3. The constructor is called but RefactoringWizardDialog2.close() is never called, leaking the wizard and a lot of things with it.
Comment 1 Sergey Prigogin CLA 2011-12-27 13:30:59 EST
Fixed in cdt_8_0 and master.