Skip to content

Commit

Permalink
small amend
Browse files Browse the repository at this point in the history
  • Loading branch information
sebres committed Feb 24, 2025
1 parent 8ab6382 commit e48a9c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generic/threadPoolCmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1251,6 +1251,7 @@ TpoolWorker(
Tcl_MutexUnlock(&tpoolPtr->mutex);
TpoolEval(interp, rPtr->script, rPtr->scriptLen, rPtr);
ckfree(rPtr->script);
rPtr->script = NULL;
Tcl_MutexLock(&tpoolPtr->mutex);
if (!rPtr->detached) {
int isNew;
Expand Down

0 comments on commit e48a9c4

Please sign in to comment.