[Pkg-owncloud-commits] [owncloud-client] 83/211: Windows shell integration: Do proper wait

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:29 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit bb37e93f52fd743dc1a8009e7a65c933a47e89d0
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Wed Oct 15 16:09:35 2014 +0200

    Windows shell integration: Do proper wait
---
 .../windows/OCShellExtensions/OCUtil/RemotePathChecker.cpp           | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/shell_integration/windows/OCShellExtensions/OCUtil/RemotePathChecker.cpp b/shell_integration/windows/OCShellExtensions/OCUtil/RemotePathChecker.cpp
index 14a7d2c..95d8aa0 100644
--- a/shell_integration/windows/OCShellExtensions/OCUtil/RemotePathChecker.cpp
+++ b/shell_integration/windows/OCShellExtensions/OCUtil/RemotePathChecker.cpp
@@ -126,6 +126,11 @@ void RemotePathChecker::workerThreadLoop()
 			_watchedDirectories.clear();
 			_connected = connected = false;
 		}
+
+		if (_stop) return;
+
+		HANDLE handles[2] = { _newQueries, socket.Event() };
+		WaitForMultipleObjects(2, handles, false, 0);
     }
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list