release client list mutex earlier

pull/1/head
dscho 20 years ago
parent e383deccf9
commit 28d09a73ce

@ -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);

Loading…
Cancel
Save