From 37ca6830adc6424584c9280c49a081d1a6c8b2f3 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Wed, 19 Jun 2019 08:06:32 +0900 Subject: [PATCH] Refine #2402 --- src/plugin.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugin.c b/src/plugin.c index 8799a503..a5eb315d 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -332,6 +332,9 @@ stop_plugin() { if (sub != NULL) { cork_subprocess_abort(sub); + if (cork_subprocess_wait(sub) == -1) { + LOGE("error on terminating the plugin."); + } cork_subprocess_free(sub); } }