8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b85ea26 commit e1ba74cCopy full SHA for e1ba74c
Modules/_xxinterpchannelsmodule.c
@@ -1091,9 +1091,13 @@ static int
1091
_channelends_is_open(_channelends *ends)
1092
{
1093
if (ends->numsendopen != 0 || ends->numrecvopen != 0) {
1094
+ // At least one interpreter is still associated with the channel
1095
+ // (and hasn't been released).
1096
return 1;
1097
}
1098
+ // XXX This is wrong if an end can ever be removed.
1099
if (ends->send == NULL && ends->recv == NULL) {
1100
+ // The channel has never had any interpreters associated with it.
1101
1102
1103
return 0;
0 commit comments