Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
No exit handler? #251
This refers to https://www.klayout.de/forum/discussion/1208
I could not find a way to register an exit handler.
1.) MainWindow.destroyed should be a signal available for this purpose. But it's hidden by the "destroyed" attribute. TODO: remove this attribute ("_destroyed" is the recommended version of the attribute).
2.) Using Ruby's at_exit segfaults (both with 0.25.x and master branch).
A working solution is to use Application#aboutToQuit