diff options
author | saturneric <[email protected]> | 2025-04-18 22:05:19 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-04-18 22:05:19 +0000 |
commit | 8f9af7f87f4f59f2e9912379e9be4e8a73269c9e (patch) | |
tree | 1f25ca6222ce3fb7e703b0693c9e6d2f4784282d /src/core/function/gpg | |
parent | fix: gpg agent cannot run as daemon on windows (diff) | |
download | GpgFrontend-8f9af7f87f4f59f2e9912379e9be4e8a73269c9e.tar.gz GpgFrontend-8f9af7f87f4f59f2e9912379e9be4e8a73269c9e.zip |
fix: solve found issues on windows
Diffstat (limited to 'src/core/function/gpg')
-rw-r--r-- | src/core/function/gpg/GpgContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/function/gpg/GpgContext.cpp b/src/core/function/gpg/GpgContext.cpp index 1960960f..7c7cde3d 100644 --- a/src/core/function/gpg/GpgContext.cpp +++ b/src/core/function/gpg/GpgContext.cpp @@ -108,7 +108,7 @@ class GpgAgentProcess { if (process_.state() != QProcess::NotRunning) { qInfo() << "killing gpg-agent, channel: " << channel_; process_.terminate(); - if (!process_.waitForFinished(5000)) { + if (!process_.waitForFinished(3000)) { process_.kill(); process_.waitForFinished(); } |