Feature: Clear thread proxy queue on reset (fixes #2080)
Vicki Pfau vi@endrift.com
Thu, 25 Mar 2021 23:16:39 -0700
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/feature/thread-proxy.c
→
src/feature/thread-proxy.c
@@ -60,6 +60,7 @@ while (proxyRenderer->threadState == PROXY_THREAD_BUSY) {
ConditionWake(&proxyRenderer->toThreadCond); ConditionWait(&proxyRenderer->fromThreadCond, &proxyRenderer->mutex); } + RingFIFOClear(&proxyRenderer->dirtyQueue); MutexUnlock(&proxyRenderer->mutex); }