summaryrefslogtreecommitdiff
path: root/plugins/New_GPG
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-06-18 13:50:34 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-06-18 13:50:34 +0300
commit40e564e48602592bf13b5311de11b16fe489a36c (patch)
tree75ea6cbf5b8e6a4df6b1b076337c5fd048285379 /plugins/New_GPG
parentb9772d9e844693c5270b27bc20e013b18ff0dfd1 (diff)
New_GPG: boost documentation sucks, we still need to wait
Diffstat (limited to 'plugins/New_GPG')
-rwxr-xr-xplugins/New_GPG/src/gpg_wrapper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/New_GPG/src/gpg_wrapper.cpp b/plugins/New_GPG/src/gpg_wrapper.cpp
index 9f94c1dfeb..136f7928db 100755
--- a/plugins/New_GPG/src/gpg_wrapper.cpp
+++ b/plugins/New_GPG/src/gpg_wrapper.cpp
@@ -81,7 +81,8 @@ void pxEexcute_thread(gpg_execution_params *params)
params->child = c;
ios.run();
-
+ c->wait();
+
if (!params->bNoOutput) {
params->out.Append(pout.get().c_str());
params->out.Append("\n");