Skip to content

No exit handler? #251

Description

@klayoutmatthias

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions