I have found the problem that the guacamole server doesn't destroy some thread mutexes when freeing the system resources.
I can't see any function that destroys the following thread mutexes:
|Variable Name (Mutex)
In detail, I can't find the code that destroys state_lock mutex variable of guac_rdp_print_job structure in guac_rdp_print_job_free() function and destroys lock mutex variable of guac_common_clipboard structure in guac_common_clipboard_free() function.
Please let me know whether my thought is correct.
If it's correct, please let me correct this problem.