diff --git a/repertory/repertory/src/ui/handlers.cpp b/repertory/repertory/src/ui/handlers.cpp index dc33bb33..004ec94a 100644 --- a/repertory/repertory/src/ui/handlers.cpp +++ b/repertory/repertory/src/ui/handlers.cpp @@ -159,6 +159,7 @@ handlers::handlers(mgmt_app_config *config, httplib::Server *server) event_system::instance().start(); server_->listen("127.0.0.1", config_->get_api_port()); + server_->stop(); this_server = nullptr; }