1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-02 21:47:22 +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

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:
Michail Vourlakos 2019-01-15 21:16:05 +02:00
parent 56cfb42734
commit 5c28b2194a

View File

@ -190,7 +190,7 @@ int main(int argc, char **argv)
if (lockFile.getLockInfo(&pid, nullptr, nullptr)) {
kill(static_cast<pid_t>(pid), SIGINT);
timeout = 3000;
timeout = -1;
}
}