Sun Jun 05 06:27:27 2011: Request 68658 was acted upon. Transaction: Ticket created by noreply Queue: Wx Subject: calling methods on a destroyed object causes fault/crash, could die instead Broken in: 0.99 Severity: Wishlist Owner: Nobody Requestors: Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68658 >
calling methods on a destroyed object causes fault/crash It would be nice if it died instead { use Wx 0.99 ; my $app = Wx::SimpleApp->new; my $frame = Wx::Frame->new(undef,-1,"", [21,21+ rand(5)] ); $frame->Show(1); $app->SetTopWindow($frame); $app->MainLoop; $frame->Show(1); # crashes } __END__ Faulting application perl.exe, version 0.0.0.0, faulting module wx.dll, version 0.0.0.0, fault address 0x0017e4c5.