Commit dcfc4fb
committed
gmoccapy: exit on SIGTERM received during startup
A SIGTERM during construction, before Gtk.main() runs, reaches the
excepthook as a KeyboardInterrupt. With no main loop, Gtk.main_quit()
asserts and the interrupt is swallowed at the GTK C boundary, so
gmoccapy runs on until SIGKILL. Force the exit when no loop is active.1 parent 91e27c6 commit dcfc4fb
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
0 commit comments