1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-17 04:58:06 +00:00

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

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)