From 0401015441bf8e1c1d54342fbb29064e1360f7ef Mon Sep 17 00:00:00 2001 From: Clement Date: Mon, 30 Sep 2019 15:18:47 -0700 Subject: [PATCH] Connect aboutToQuit --- domain-server/src/DomainServer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/domain-server/src/DomainServer.cpp b/domain-server/src/DomainServer.cpp index cc9701ee73..d9c0a0a6b3 100644 --- a/domain-server/src/DomainServer.cpp +++ b/domain-server/src/DomainServer.cpp @@ -186,6 +186,7 @@ DomainServer::DomainServer(int argc, char* argv[]) : qDebug() << "[VERSION] BUILD_GLOBAL_SERVICES:" << BuildInfo::BUILD_GLOBAL_SERVICES; qDebug() << "[VERSION] We will be using this name to find ICE servers:" << _iceServerAddr; + connect(this, &QCoreApplication::aboutToQuit, this, &DomainServer::aboutToQuit); // make sure we have a fresh AccountManager instance // (need this since domain-server can restart itself and maintain static variables)