From 88e2e9ddd672a5d32913a74fce138c3333f4b28e Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Tue, 15 Jan 2019 21:16:05 +0200 Subject: [PATCH] Wait forever until the lock file can be locked Summary: - `timeout = 3000` is a bit short on some computer. Use `timeout = -1` will work for any case. BUG: 401041 FIXED-IN: v0.8.5 Test Plan: BUG: 401041 is fixed on my computer. Reviewers: mvourlakos, #latte_dock Reviewed By: mvourlakos Tags: #latte_dock, #plasma Differential Revision: https://phabricator.kde.org/D18258 --- app/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.cpp b/app/main.cpp index e665de619..7fb602a5a 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -188,7 +188,7 @@ int main(int argc, char **argv) if (lockFile.getLockInfo(&pid, nullptr, nullptr)) { kill(static_cast(pid), SIGINT); - timeout = 3000; + timeout = -1; } }