-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues using Perl exit #14
Comments
I looked into this a while ago. Perl’s |
Avoid using Perl exit() in after callback See #14
Avoid using Perl exit() in after callback See #14
Avoid using Perl exit() in after callback See #14
Avoid using Perl exit() in after callback See #14
Various issues (errors, crashes, segmentation faults) are encountered when Perl
exit
is called before destroying the main/root window. Examples include:exit
in callbacks (see https://rt.cpan.org/Ticket/Display.html?id=128654)exit
at the end of a script, as was often done in test scripts which never calledMainLoop
(see https://rt.cpan.org/Ticket/Display.html?id=128804)Tcl::Tk appears to be affected by this as well (https://www.perlmonks.org/?node_id=1191134). I do not know whether wrappers can/should support
exit
usage, so for now I recommend always destroying the root toplevel before Perl exits (either by enteringMainLoop
and waiting for the user to close it, or programmatically using thedestroy
method).The text was updated successfully, but these errors were encountered: