Browse Source

Fix #2438

pull/2463/head
Max Lv 5 years ago
parent
commit
f5e8519d8f
1 changed files with 2 additions and 0 deletions
  1. 2
      src/plugin.c

2
src/plugin.c

@ -334,9 +334,11 @@ stop_plugin()
{ {
if (sub != NULL) { if (sub != NULL) {
cork_subprocess_abort(sub); cork_subprocess_abort(sub);
#ifndef __MINGW32__
if (cork_subprocess_wait(sub) == -1) { if (cork_subprocess_wait(sub) == -1) {
LOGI("error on terminating the plugin."); LOGI("error on terminating the plugin.");
} }
#endif
cork_subprocess_free(sub); cork_subprocess_free(sub);
} }
} }

Loading…
Cancel
Save