Get rid of "AutoInit", instead always keep the network initialized.
See #9305
This commit is contained in:
parent
6e940dfeda
commit
cbf24a9d78
6 changed files with 3 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue