mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 17:27:39 +02:00
Fix main_loop() not returning NULL when an error has occurred
This commit is contained in:
@@ -500,6 +500,7 @@ main_loop(ChildMonitor *self) {
|
|||||||
timers_call(self->timers);
|
timers_call(self->timers);
|
||||||
parse_input(self);
|
parse_input(self);
|
||||||
}
|
}
|
||||||
|
if (PyErr_Occurred()) return NULL;
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user