Issue 27044: Stop test_idle memory leaks (original) (raw)

test_idle leaked [2648, 2648, 2648] references, sum=7944 test_idle leaked [938, 940, 940] memory blocks, sum=2818

I traced this to test_configdialog and then to ConfigDialog.AttachVarCallbacks, which has 18 call like self.fontSize.trace_variable('w', self.VarChanged_font) Currently, root.destroy does not destroy associated callbacks. Serhiy has a patch to change this, but will do explicit cleanup for the test anyway.