Fix main_loop() not returning NULL when an error has occurred
This commit is contained in:
parent
281cb50780
commit
2089d2bfdf
@ -500,6 +500,7 @@ main_loop(ChildMonitor *self) {
|
||||
timers_call(self->timers);
|
||||
parse_input(self);
|
||||
}
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user