diff --git a/src/pulsecore/thread-win32.c b/src/pulsecore/thread-win32.c index 89c8c4632..0fa3b917f 100644 --- a/src/pulsecore/thread-win32.c +++ b/src/pulsecore/thread-win32.c @@ -109,6 +109,13 @@ void pa_thread_free(pa_thread *t) { pa_xfree(t); } +void pa_thread_free_nojoin(pa_thread *t) { + pa_assert(t); + + CloseHandle(t->thread); + pa_xfree(t); +} + int pa_thread_join(pa_thread *t) { assert(t);