Connect aboutToQuit

This commit is contained in:
Clement 2019-09-30 15:18:47 -07:00
parent a4c857315a
commit 0401015441

View file

@ -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)