Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Clear the right class.
  • Loading branch information
ericsnowcurrently committed Mar 4, 2024
commit 970d88b079befbbb9823113de2f9218a4c154c19
6 changes: 3 additions & 3 deletions Modules/_xxinterpchannelsmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,9 @@ clear_xid_types(module_state *state)
}

/* heap types */
if (state->ChannelInfoType != NULL) {
(void)_PyCrossInterpreterData_UnregisterClass(state->ChannelInfoType);
Py_CLEAR(state->ChannelInfoType);
if (state->ChannelIDType != NULL) {
(void)_PyCrossInterpreterData_UnregisterClass(state->ChannelIDType);
Py_CLEAR(state->ChannelIDType);
}
}

Expand Down