mirror of https://github.com/mpv-player/mpv
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:
parent
23f52fd41b
commit
20d42b3475
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue