8000 Clear the registered type during module cleanup. · python/cpython@fc73add · GitHub
[go: up one dir, main page]

Skip to content

Commit fc73add

Browse files
Clear the registered type during module cleanup.
1 parent ea27b25 commit fc73add

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/_xxsubinterpretersmodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ static int
164164
clear_module_state(module_state *state)
165165
{
166166
/* heap types */
167+
(void)_PyCrossInterpreterData_UnregisterClass(state->ChannelIDType);
167168
Py_CLEAR(state->ChannelIDType);
168169

169170
/* interpreter exceptions */

0 commit comments

Comments
 (0)
0