mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-29 12:36:53 +00:00
Fix #2438
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user