diff options
author | dscho <dscho> | 2004-10-02 23:54:14 +0000 |
---|---|---|
committer | dscho <dscho> | 2004-10-02 23:54:14 +0000 |
commit | 28d09a73ce5784dc8a8d3b5706746dbb8d68bb18 (patch) | |
tree | 08a9915e0c4724320d79c7480910ca8a09b5544c /libvncserver | |
parent | e383deccf9846abd964e18e5900ee690e4c01ca4 (diff) | |
download | libtdevnc-28d09a73ce5784dc8a8d3b5706746dbb8d68bb18.tar.gz libtdevnc-28d09a73ce5784dc8a8d3b5706746dbb8d68bb18.zip |
release client list mutex earlier
Diffstat (limited to 'libvncserver')
-rw-r--r-- | libvncserver/rfbserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c index a2086ed..33e277d 100644 --- a/libvncserver/rfbserver.c +++ b/libvncserver/rfbserver.c @@ -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); |