mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-27 14:50:21 +03:00
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
This commit is contained in:
parent
630160c6af
commit
88e2e9ddd6
@ -188,7 +188,7 @@ int main(int argc, char **argv)
|
||||
|
||||
if (lockFile.getLockInfo(&pid, nullptr, nullptr)) {
|
||||
kill(static_cast<pid_t>(pid), SIGINT);
|
||||
timeout = 3000;
|
||||
timeout = -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user