forked from qt-creator/qt-creator
Remove PluginManager::futureSynchronizer()
Use the global synchronizer from Utils::futureSynchronizer() directly Change-Id: Ic8843bc1ff7951c041529a258f36117f08ec4b35 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -12,8 +12,6 @@
|
||||
|
||||
#include <coreplugin/messagemanager.h>
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
@@ -172,7 +170,7 @@ void FileApiReader::stop()
|
||||
|
||||
if (m_future) {
|
||||
m_future->cancel();
|
||||
ExtensionSystem::PluginManager::futureSynchronizer()->addFuture(*m_future);
|
||||
Utils::futureSynchronizer()->addFuture(*m_future);
|
||||
}
|
||||
m_future = {};
|
||||
m_isParsing = false;
|
||||
|
||||
Reference in New Issue
Block a user