Skip to content

Commit 801aaca

Browse files
TEMP: Test that the CI will trigger the memory leak
1 parent e83c115 commit 801aaca

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

context/_coroutine.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ static void *coroutine_wrapper(void *action_, void *arg_)
108108

109109

110110
#if PY_VERSION_HEX >= 0x30B0000
111-
new_threadstate = PyThreadState_Swap(thread_state);
112-
PyThreadState_Clear(new_threadstate);
113-
PyThreadState_Delete(new_threadstate);
111+
// new_threadstate = PyThreadState_Swap(thread_state);
112+
// PyThreadState_Clear(new_threadstate);
113+
// PyThreadState_Delete(new_threadstate);
114114
#else
115115
/* Some of the stuff we've initialised can leak through, so far I've only
116116
* seen exc_type still set at this point, but maybe other fields can also

0 commit comments

Comments
 (0)