We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 842c158 commit 06d8288Copy full SHA for 06d8288
src/JobQueue.cc
@@ -147,7 +147,8 @@ void JobQueue::promiseRejectionTracker(JSContext *cx,
147
Py_DECREF(pmModule);
148
Py_DECREF(exceptionHandler);
149
}
150
-Py_DECREF(customHandler);
+ Py_DECREF(customHandler);
151
+
152
// Go ahead and send this unhandled Promise rejection to the exception handler on the Python event-loop
153
PyObject *pyFuture = PromiseType::getPyObject(cx, promise); // ref count == 2
154
// Unhandled Future object calls the event-loop exception handler in its destructor (the `__del__` magic method)
0 commit comments