Skip to content

Commit 425fd51

Browse files
fix cg builds, invalidate executors on function deallocation
1 parent d601256 commit 425fd51

File tree

3 files changed

+227
-226
lines changed

3 files changed

+227
-226
lines changed

Objects/funcobject.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,6 +1152,7 @@ func_dealloc(PyObject *self)
11521152
return;
11531153
}
11541154
#if _Py_TIER2
1155+
_Py_Executors_InvalidateDependency(_PyInterpreterState_GET(), self, 1);
11551156
_PyJit_Tracer_InvalidateDependency(_PyThreadState_GET(), self);
11561157
#endif
11571158
_PyObject_GC_UNTRACK(op);

0 commit comments

Comments
 (0)