VNCViewer slow termination

118 with a lot of bug fixes.

VNCViewer slow termination

Postby vitouso » 2014-02-14 14:16

When I was trying to call VNCviewer from another application and wait for it's termination, I have found, that there is really big delay (more than 2sec) after manually closing window, when application is still running on the background.

I have found where it's hanging for most of the time and it's here:

ClientConnection::run_undetached - line 4607

Sleep(2000);

What is the reason for this sleep? Is it used just for autoreconnect as some big enough delay or why? Could it be possibly replaced with something like this:

if (m_autoReconnect > 0) Sleep(2000);
vitouso
 
Posts: 1
Joined: 2014-02-11 21:23

Return to 1.1.9.x

Who is online

Users browsing this forum: Google [Bot] and 1 guest