mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2026-07-17 16:36:49 +00:00
VNC-151 Refactor screenshot handling
This commit is contained in:
parent
adc4ea79fc
commit
39d5b1b7ba
1 changed files with 1 additions and 5 deletions
|
|
@ -60,11 +60,7 @@ GetAPIMessager::GetAPIMessager(const char *passwdfile_): passwdfile(passwdfile_)
|
|||
ownerConnected(0), activeUsers(0),
|
||||
sessionsInfo( "{\"users\":[]}"){
|
||||
|
||||
pthread_mutexattr_t screenAttr;
|
||||
pthread_mutexattr_init(&screenAttr);
|
||||
pthread_mutexattr_settype(&screenAttr, PTHREAD_MUTEX_RECURSIVE);
|
||||
pthread_mutex_init(&screenMutex, &screenAttr);
|
||||
pthread_mutexattr_destroy(&screenAttr);
|
||||
pthread_mutex_init(&screenMutex, nullptr);
|
||||
pthread_mutex_init(&userMutex, NULL);
|
||||
pthread_mutex_init(&statMutex, NULL);
|
||||
pthread_mutex_init(&frameStatMutex, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue