Commit 28d09a73 authored by dscho's avatar dscho

release client list mutex earlier

parent e383decc
......@@ -425,6 +425,8 @@ rfbClientConnectionGone(cl)
} while(i>0);
#endif
UNLOCK(rfbClientListMutex);
if(cl->sock>=0)
FD_CLR(cl->sock,&(cl->screen->allFds));
......@@ -454,8 +456,6 @@ rfbClientConnectionGone(cl)
sraRgnDestroy(cl->requestedRegion);
sraRgnDestroy(cl->copyRegion);
UNLOCK(rfbClientListMutex);
if (cl->translateLookupTable) free(cl->translateLookupTable);
TINI_COND(cl->updateCond);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment