-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Various issues (errors, crashes, segmentation faults) are encountered when Perl exit is called before destroying the main/root window. Examples include:
- using
exitin callbacks (see https://rt.cpan.org/Ticket/Display.html?id=128654) - not destroying root toplevel ("main window") before the implicit
exitat 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 entering MainLoop and waiting for the user to close it, or programmatically using the destroy method).
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed