[Pkg-owncloud-commits] [owncloud-client] 41/135: Initialize stop variable.
Sandro Knauß
hefee at debian.org
Sat Sep 9 14:28:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
hefee pushed a commit to branch master
in repository owncloud-client.
commit e7d4d12e165ea8c5de59acc10d4f2f9403ae4dc2
Author: Frederik Juul Christiani <frederik at vikingsoft.eu>
Date: Tue Jun 13 10:28:12 2017 +0200
Initialize stop variable.
Avoid stopping the worker thread immediately if the stop variable happens to be true.
---
shell_integration/windows/OCUtil/RemotePathChecker.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/shell_integration/windows/OCUtil/RemotePathChecker.cpp b/shell_integration/windows/OCUtil/RemotePathChecker.cpp
index cf8b72b..16449dd 100644
--- a/shell_integration/windows/OCUtil/RemotePathChecker.cpp
+++ b/shell_integration/windows/OCUtil/RemotePathChecker.cpp
@@ -172,7 +172,8 @@ void RemotePathChecker::workerThreadLoop()
RemotePathChecker::RemotePathChecker()
- : _watchedDirectories(make_shared<const vector<wstring>>())
+ : _stop(false)
+ , _watchedDirectories(make_shared<const vector<wstring>>())
, _connected(false)
, _newQueries(CreateEvent(NULL, true, true, NULL))
, _thread([this]{ this->workerThreadLoop(); })
--
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