ao/wasapi: also free the threadLoop handle on uninit

http://msdn.microsoft.com/en-us/library/windows/desktop/ms682453%28v=vs.85%29.aspx
This commit is contained in:
Kevin Mitchell 2014-11-17 23:43:51 -08:00
parent 23f52fd41b
commit 20d42b3475
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ static void closehandles(struct ao *ao)
if (state->hFeed) CloseHandle(state->hFeed);
if (state->hForceFeed) CloseHandle(state->hForceFeed);
if (state->hFeedDone) CloseHandle(state->hFeedDone);
if (state->threadLoop) CloseHandle(state->threadLoop);
}
static void uninit(struct ao *ao)