Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

redshift-gtk: Make sure that child process is closed after signals (WIP) - #268

Merged
jonls merged 1 commit into
masterfrom
gtk-wait-child
Jan 2, 2016
Merged

jonls merged 1 commit into
masterfrom
gtk-wait-child

Conversation

@jonls

@jonls jonls commented Oct 21, 2015

Copy link
Copy Markdown
Collaborator

Instead of calling sys.exit() the signal handlers now try to terminate the child process. After the child exits, the process will be reaped by the GLib callback which will call Gtk.main_quit() which will then quit redshift-gtk. This ensures that the redshift process does not outlive the redshift-gtk process.

Instead of calling sys.exit() the signal handlers now try to terminate
the child process. After the child exits, the process will be reaped by
the GLib callback which will call Gtk.main_quit() which will then quit
redshift-gtk. This ensures that the redshift process does not outlive
the redshift-gtk process.
@jonls
jonls merged commit 7e9ef55 into master Jan 2, 2016
@jonls
jonls deleted the gtk-wait-child branch January 2, 2016 21:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants