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