mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
take down AssetClient after content manager
This commit is contained in:
parent
5dec3aba50
commit
494f93304b
1 changed files with 5 additions and 5 deletions
|
@ -380,11 +380,6 @@ void DomainServer::parseCommandLine() {
|
|||
DomainServer::~DomainServer() {
|
||||
qInfo() << "Domain Server is shutting down.";
|
||||
|
||||
// cleanup the AssetClient thread
|
||||
DependencyManager::destroy<AssetClient>();
|
||||
_assetClientThread.quit();
|
||||
_assetClientThread.wait();
|
||||
|
||||
// destroy the LimitedNodeList before the DomainServer QCoreApplication is down
|
||||
DependencyManager::destroy<LimitedNodeList>();
|
||||
|
||||
|
@ -392,6 +387,11 @@ DomainServer::~DomainServer() {
|
|||
_contentManager->aboutToFinish();
|
||||
_contentManager->terminate();
|
||||
}
|
||||
|
||||
// cleanup the AssetClient thread
|
||||
DependencyManager::destroy<AssetClient>();
|
||||
_assetClientThread.quit();
|
||||
_assetClientThread.wait();
|
||||
}
|
||||
|
||||
void DomainServer::queuedQuit(QString quitMessage, int exitCode) {
|
||||
|
|
Loading…
Reference in a new issue