diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-02-22 07:24:42 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-02-22 07:24:42 (GMT) |
commit | 03a9d6928d201038d4fa4dbccc9bc724c0dcd713 (patch) | |
tree | 922b5590b200a4ca6a9a7b994d8d65aab3dd8d40 /generic | |
parent | c731ca1ffdd3e7cc90cf064ac89b2f71551958ce (diff) | |
parent | 5219c94af582e25644cda9972735c8c913efc24e (diff) | |
download | tcl-03a9d6928d201038d4fa4dbccc9bc724c0dcd713.zip tcl-03a9d6928d201038d4fa4dbccc9bc724c0dcd713.tar.gz tcl-03a9d6928d201038d4fa4dbccc9bc724c0dcd713.tar.bz2 |
Merge 8.6
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclIORChan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclIORChan.c b/generic/tclIORChan.c index ec82fc5..7a99317 100644 --- a/generic/tclIORChan.c +++ b/generic/tclIORChan.c @@ -2830,6 +2830,7 @@ DeleteThreadReflectedChannelMap( Tcl_ThreadId self = Tcl_GetCurrentThread(); ReflectedChannelMap *rcmPtr; /* The map */ ForwardingResult *resultPtr; + ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey); /* * The origin thread for one or more reflected channels is gone. @@ -2909,6 +2910,7 @@ DeleteThreadReflectedChannelMap( */ rcmPtr = GetThreadReflectedChannelMap(); + tsdPtr->rcmPtr = NULL; for (hPtr = Tcl_FirstHashEntry(&rcmPtr->map, &hSearch); hPtr != NULL; hPtr = Tcl_FirstHashEntry(&rcmPtr->map, &hSearch)) { |