From c6c691f3230134f18e332e98479628fe538ae92c Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 2 Oct 2012 23:54:16 +0200 Subject: [PATCH] test: join worker thread at exit in test-async.c --- test/test-async.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test-async.c b/test/test-async.c index 7cdad098..9b2ce7bc 100644 --- a/test/test-async.c +++ b/test/test-async.c @@ -114,5 +114,7 @@ TEST_IMPL(async) { ASSERT(async_cb_called == 3); ASSERT(close_cb_called == 2); + ASSERT(0 == uv_thread_join(&thread)); + return 0; }