Permalink
Browse files

Properly handle uncaught exceptions on Handle.close

  • Loading branch information...
1 parent e835d54 commit 1d030d2552a205afb008f2053e62a4c08b104d56 @saghul committed Dec 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/handle.c
View
@@ -13,7 +13,7 @@ on_handle_close(uv_handle_t *handle)
if (self->on_close_cb) {
result = PyObject_CallFunctionObjArgs(self->on_close_cb, self, NULL);
if (result == NULL) {
- print_uncaught_exception();
+ handle_uncaught_exception(self->loop);
}
Py_XDECREF(result);
}

0 comments on commit 1d030d2

Please sign in to comment.