tall_man has asked for the wisdom of the Perl Monks concerning the following question:
I put a simple trace into the DESTROY method of Tk::Widget.pm:
It looks like the slowdown takes place after all the widgets are destroyed, including MainWindow. Possibly it's happening in the global destroy phase.sub DESTROY { my $w = shift; print ref($w) . " destroy called\n"; $w->destroy if ($w->IsWidget); print ref($w) . " destroy done\n"; }
Is there any way to trace what is happening in the clean-up phase, or does anyone have suggestions on where Windows might be spending so much time? The same program ends quickly under Linux.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Slow wind-up in Windows?
by BrowserUk (Patriarch) on Jun 17, 2003 at 22:34 UTC | |
by tall_man (Parson) on Jun 18, 2003 at 20:14 UTC | |
by BrowserUk (Patriarch) on Jun 18, 2003 at 20:29 UTC | |
Re: Slow wind-up in Windows?
by dash2 (Hermit) on Jun 18, 2003 at 09:46 UTC | |
by tall_man (Parson) on Jun 18, 2003 at 13:55 UTC | |
by dash2 (Hermit) on Jun 19, 2003 at 23:37 UTC |