Get rid of "AutoInit", instead always keep the network initialized.

See #9305
This commit is contained in:
Henrik Rydgard 2017-02-14 13:11:46 +01:00
parent 6e940dfeda
commit cbf24a9d78
6 changed files with 3 additions and 14 deletions

View file

@ -81,7 +81,6 @@ static void RegisterServer(int port) {
static void ExecuteServer() {
setCurrentThreadName("HTTPServer");
net::AutoInit netInit;
auto http = new http::Server(new threading::SameThreadExecutor());
std::map<std::string, std::string> paths;