summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-06-22 19:47:55 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-06-22 19:47:55 +0300
commita72eca339fd5237ba7189e8aa70d25666a7a8e90 (patch)
treef4c380b442a7a9b06bd39326111386ea75fcd58d /src
parentBuild mtxclient with Bundled Boost (#350) (diff)
downloadnheko-a72eca339fd5237ba7189e8aa70d25666a7a8e90.tar.xz
Immediately shutdown the http client on exit
Diffstat (limited to 'src')
-rw-r--r--src/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc

index 327ec587..7ef5834e 100644 --- a/src/main.cc +++ b/src/main.cc
@@ -166,9 +166,9 @@ main(int argc, char *argv[]) QObject::connect(&app, &QApplication::aboutToQuit, &w, [&w]() { w.saveCurrentWindowSize(); if (http::v2::client() != nullptr) { - nhlog::net()->info("shutting down all I/O threads & open connections"); - http::v2::client()->shutdown(); + nhlog::net()->debug("shutting down all I/O threads & open connections"); http::v2::client()->close(true); + nhlog::net()->debug("bye"); } });