summaryrefslogtreecommitdiffstats
path: root/wti.c
diff options
context:
space:
mode:
Diffstat (limited to 'wti.c')
-rw-r--r--wti.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/wti.c b/wti.c
index 402b6bda..e7120f8a 100644
--- a/wti.c
+++ b/wti.c
@@ -405,11 +405,9 @@ wtiWorker(wti_t *pThis)
/* indicate termination */
pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &iCancelStateSave);
-// TODO: this deadlocks with wtiProcessThrdChanges(), where it waits on the thread to join (on US TO JOIN!!!)
d_pthread_mutex_lock(&pThis->mut);
pthread_cleanup_pop(0); /* remove cleanup handler */
-RUNLOG_VAR("%p", pWtp->pUsr);
pWtp->pfOnWorkerShutdown(pWtp->pUsr);
wtiSetState(pThis, eWRKTHRD_TERMINATING, 0, MUTEX_ALREADY_LOCKED);