Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Stop the unix_server from listening in shutdown stage as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliot438b committed Nov 28, 2018
1 parent 11c2539 commit bdd0726
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/http_plugin/http_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit bdd0726

Please sign in to comment.