loolwsd/LOOLKit.cpp | 6 ------ 1 file changed, 6 deletions(-) New commits: commit 04b8da43d42a6a37bbf0f1edb748990591f04dbc Author: Michael Meeks <michael.me...@collabora.com> Date: Mon Aug 17 16:52:09 2015 +0100
Remove un-necessary lock. diff --git a/loolwsd/LOOLKit.cpp b/loolwsd/LOOLKit.cpp index 9394e43..e47ca4d 100644 --- a/loolwsd/LOOLKit.cpp +++ b/loolwsd/LOOLKit.cpp @@ -89,8 +89,6 @@ static int prefixcmp(const char *str, const char *prefix) const int MASTER_PORT_NUMBER = 9981; const std::string CHILD_URI = "/loolws/child/"; -Poco::NamedMutex _namedMutexLOOL("loolwsd"); - int main(int argc, char** argv) { std::string loSubPath; @@ -130,8 +128,6 @@ int main(int argc, char** argv) try { - _namedMutexLOOL.lock(); - #ifdef __APPLE__ LibreOfficeKit *loKit(lok_init_2(("/" + loSubPath + "/Frameworks").c_str(), "file:///user")); #else @@ -144,8 +140,6 @@ int main(int argc, char** argv) exit(-1); } - _namedMutexLOOL.unlock(); - // Open websocket connection between the child process and the // parent. The parent forwards us requests that it can't handle. _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits