Padre crashs when closing "Open Resource" with the 'x' button from window manager

Description

Deep recursion on anonymous subroutine at /usr/pkg/lib/perl5/vendor_perl/5.10.0/Padre/Wx/DocBrowser.pm line 439.
Deep recursion on subroutine "Padre::Wx::DocBrowser::_close" at /usr/pkg/lib/perl5/vendor_perl/5.10.0/Padre/Wx/DocBrowser.pm line 158.