LibVNC / libvncserver

LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program.
GNU General Public License v2.0
1.08k stars 483 forks source link

Fix thread memory leak on client disconnect for servers started with the runInBackground argument set tot true #572

Closed JorisHansMeijer closed 1 year ago

JorisHansMeijer commented 1 year ago

Fix thread memory leak on client disconnect for servers started with the runInBackground argument set tot true. The thread can't be joined, so to fix we detach the thread just before the end of the thread.