diff --git a/deps/ccommon/test/ring_array/check_ring_array.c b/deps/ccommon/test/ring_array/check_ring_array.c index c4bcc0845..a60a159a6 100644 --- a/deps/ccommon/test/ring_array/check_ring_array.c +++ b/deps/ccommon/test/ring_array/check_ring_array.c @@ -207,6 +207,7 @@ START_TEST(test_thread) } } + pthread_join(producer, NULL); ring_array_destroy(&arr); #undef ELEM_SIZE #undef CAP