forked from qt-creator/qt-creator
Ios: Fix synchronization
This fixes the synchronization on early shutdown, e.g. when Creator is started with "-test Ios". Change-Id: Ia18215a090809b6095d51ee3647728b4b2ad2d5f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
|
||||
#include <projectexplorer/kitaspects.h>
|
||||
#include <projectexplorer/kitmanager.h>
|
||||
#include <projectexplorer/devicesupport/devicemanager.h>
|
||||
@@ -31,6 +33,7 @@
|
||||
#include <qtsupport/qtversionfactory.h>
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/futuresynchronizer.h>
|
||||
#include <utils/process.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
@@ -405,7 +408,8 @@ void IosConfigurations::updateSimulators()
|
||||
dev = IDevice::ConstPtr(new IosSimulator(devId));
|
||||
devManager->addDevice(dev);
|
||||
}
|
||||
SimulatorControl::updateAvailableSimulators(this);
|
||||
ExtensionSystem::PluginManager::futureSynchronizer()->addFuture(
|
||||
SimulatorControl::updateAvailableSimulators(this));
|
||||
}
|
||||
|
||||
void IosConfigurations::setDeveloperPath(const FilePath &devPath)
|
||||
|
||||
Reference in New Issue
Block a user