diff options
Diffstat (limited to 'accel-pptpd/triton/triton.c')
-rw-r--r-- | accel-pptpd/triton/triton.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pptpd/triton/triton.c b/accel-pptpd/triton/triton.c index ce880e96..d7939041 100644 --- a/accel-pptpd/triton/triton.c +++ b/accel-pptpd/triton/triton.c @@ -74,6 +74,9 @@ static void* triton_thread(struct _triton_thread_t *thread) sigwait(&set, &sig); //printf("thread %p: exit sigwait\n", thread); __sync_fetch_and_add(&triton_stat.thread_active, 1); + + if (!thread->ctx) + continue; } cont: |