pygobject / pgi

[Unmaintained: Use PyGObject instead] GTK+ / GObject Introspection Bindings for PyPy.
GNU Lesser General Public License v2.1
74 stars 16 forks source link

'AttributeError: NoneType object has no attribute quit' on sigint #34

Closed david-e closed 7 years ago

david-e commented 8 years ago

Fixed the 'AttributeError: NoneType object has no attribute quit' raised when the sigint signal is received by the mainloop

lazka commented 7 years ago

The overrides are from pygobject and should only be changed if there is no other fix. The problem here is probably that the user_data passed to unix_signal_add doesn't get passed to the callback.