Skip to content

Commit d8451d0

Browse files
committed
fix
1 parent 1a3b2e9 commit d8451d0

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Python/optimizer.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -328,13 +328,6 @@ add_to_pending_deletion_list(_PyExecutorObject *self)
328328
static void
329329
uop_dealloc(PyObject *op) {
330330
_PyExecutorObject *self = _PyExecutorObject_CAST(op);
331-
332-
// Object might be already untracked if we are in a GC cycle (via tp_clear).
333-
// Avoid double-untracking.
334-
if (_PyObject_GC_IS_TRACKED(self)) {
335-
_PyObject_GC_UNTRACK(self);
336-
}
337-
338331
executor_invalidate(op);
339332
assert(self->vm_data.code == NULL);
340333
add_to_pending_deletion_list(self);

0 commit comments

Comments
 (0)