From bdd072626a7611e05e8e71513d4a91d34a1a4cbe Mon Sep 17 00:00:00 2001 From: evsward Date: Wed, 28 Nov 2018 10:03:21 +0800 Subject: [PATCH] Stop the unix_server from listening in shutdown stage as well. --- plugins/http_plugin/http_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/http_plugin/http_plugin.cpp b/plugins/http_plugin/http_plugin.cpp index d9be006bb45..d1247c7d491 100644 --- a/plugins/http_plugin/http_plugin.cpp +++ b/plugins/http_plugin/http_plugin.cpp @@ -548,6 +548,8 @@ namespace eosio { my->server.stop_listening(); if(my->https_server.is_listening()) my->https_server.stop_listening(); + if(my->unix_server.is_listening()) + my->unix_server.stop_listening(); } void http_plugin::add_handler(const string& url, const url_handler& handler) {