Skip to content

Commit 3cd6397

Browse files
Merge branch 'philippe/pyTypeFactory-cleanup' into philippe/full-js-and-python-stacks
2 parents 8c7bce7 + f9c29ad commit 3cd6397

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/PyEventLoop.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ static PyObject *eventLoopJobWrapper(PyObject *jobFn, PyObject *Py_UNUSED(_)) {
2222
if (!ret) {
2323
return NULL;
2424
}
25-
Py_DECREF(ret);
25+
Py_DECREF(ret);
2626
if (PyErr_Occurred()) {
2727
return NULL;
2828
} else {
@@ -78,7 +78,6 @@ PyEventLoop::Future PyEventLoop::ensureFuture(PyObject *awaitable) {
7878
Py_DECREF(args);
7979
Py_DECREF(kwargs);
8080

81-
// Py_INCREF(futureObj);
8281
return PyEventLoop::Future(futureObj);
8382
}
8483

0 commit comments

Comments
 (0)