Skip to content

Commit b044443

Browse files
Update src/PyEventLoop.cc
1 parent 43498a1 commit b044443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PyEventLoop.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static PyObject *timerJobWrapper(PyObject *jobFn, PyObject *args) {
4646
PyErr_Fetch(&errType, &errValue, &traceback);
4747
// Making sure a `AsyncHandle::fromId` call is close to its `handle`'s use.
4848
// We need to ensure the memory block doesn't move for reallocation before we can use the pointer,
49-
// as we could have multiple new `setTimeout` calls to expand the `_timeoutIdMap` vector while running the job function in parallel.
49+
// as we could have multiple new `setTimeout` calls to expand the `_timeoutIdMap` vector while running the job function in parallel.
5050
auto handle = PyEventLoop::AsyncHandle::fromId(handleId);
5151
if (repeat && !handle->cancelled()) {
5252
_enqueueWithDelay(_loop, handleId, jobFn, delaySeconds, repeat);

0 commit comments

Comments
 (0)