1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc
index 67c98339..b776e902 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -200,9 +200,9 @@ main(int argc, char *argv[])
QObject::connect(&app, &QApplication::aboutToQuit, &w, [&w]() {
w.saveCurrentWindowSize();
- if (http::v2::client() != nullptr) {
+ if (http::client() != nullptr) {
nhlog::net()->debug("shutting down all I/O threads & open connections");
- http::v2::client()->close(true);
+ http::client()->close(true);
nhlog::net()->debug("bye");
}
});
|