summaryrefslogtreecommitdiffstats
path: root/x11vnc/cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/cleanup.c')
-rw-r--r--x11vnc/cleanup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11vnc/cleanup.c b/x11vnc/cleanup.c
index 8f7160c..d99ccfb 100644
--- a/x11vnc/cleanup.c
+++ b/x11vnc/cleanup.c
@@ -10,6 +10,7 @@
#include "solid.h"
#include "unixpw.h"
#include "sslcmds.h"
+#include "sslhelper.h"
/*
* Exiting and error handling routines
@@ -133,6 +134,9 @@ void clean_up_exit (int ret) {
solid_bg(1);
}
stop_stunnel();
+ if (use_openssl) {
+ ssh_helper_pid(0, 0); /* killall */
+ }
X_LOCK;
XTestDiscard_wr(dpy);