From 2b523666272b5d40ffb1e9d414f1604b716c3c9f Mon Sep 17 00:00:00 2001 From: Dennis Potter Date: Thu, 2 Aug 2018 16:24:05 +0200 Subject: [PATCH] Added pthread_testcancel() to path. Fixes #186 --- lib/path.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/path.c b/lib/path.c index 79fb07aa9..6c3ac29d4 100644 --- a/lib/path.c +++ b/lib/path.c @@ -245,6 +245,8 @@ static void * path_run_single(void *arg) path_destination_write(pd, p); } + + pthread_testcancel(); } return NULL;