From f5e8519d8f6f97db9dc53b0f093dda3e34171b61 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Fri, 26 Jul 2019 21:58:41 +0800 Subject: [PATCH] Fix #2438 --- src/plugin.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugin.c b/src/plugin.c index 36d2d8d6..b1b84a5c 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -334,9 +334,11 @@ stop_plugin() { if (sub != NULL) { cork_subprocess_abort(sub); +#ifndef __MINGW32__ if (cork_subprocess_wait(sub) == -1) { LOGI("error on terminating the plugin."); } +#endif cork_subprocess_free(sub); } }