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

Commit

Permalink
Merge pull request #6401 from evsward/unix_server
Browse files Browse the repository at this point in the history
Stop the unix_server from listening in shutdown stage as well.
  • Loading branch information
spoonincode authored Nov 29, 2018
2 parents b6f23ec + bdd0726 commit cb647d3
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 cb647d3

Please sign in to comment.