diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2023-04-25 15:32:10 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2023-04-25 13:45:39 +0000 |
commit | c67dc5e8d483010b5a0cf5d35096fb0f366119c1 (patch) | |
tree | 4dff380efca72c0604fe59f20b7338501fac6d82 /src/plugins/python/pythonplugin.cpp | |
parent | fde32a206ba06f6025a77beb3ce6b7a4ce9c663d (diff) | |
download | qt-creator-c67dc5e8d483010b5a0cf5d35096fb0f366119c1.tar.gz |
All Plugins: Use global future synchronizer
Instead of using plugin's own synchronizers. The global
synchronizer does the synchronization just before all the
plugins' destructors run (in sync), so this should be
the right equivalent.
Change-Id: I8d09c9ea4a11b7a703684ad5319191ce310d992e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/python/pythonplugin.cpp')
-rw-r--r-- | src/plugins/python/pythonplugin.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/python/pythonplugin.cpp b/src/plugins/python/pythonplugin.cpp index 1fd12def06..67857aec23 100644 --- a/src/plugins/python/pythonplugin.cpp +++ b/src/plugins/python/pythonplugin.cpp @@ -18,7 +18,6 @@ #include <projectexplorer/taskhub.h> #include <utils/fsengine/fileiconprovider.h> -#include <utils/futuresynchronizer.h> #include <utils/theme/theme.h> using namespace ProjectExplorer; @@ -38,7 +37,6 @@ public: PySideBuildConfigurationFactory buildConfigFactory; SimpleTargetRunnerFactory runWorkerFactory{{runConfigFactory.runConfigurationId()}}; PythonSettings settings; - FutureSynchronizer m_futureSynchronizer; }; PythonPlugin::PythonPlugin() @@ -57,12 +55,6 @@ PythonPlugin *PythonPlugin::instance() return m_instance; } -FutureSynchronizer *PythonPlugin::futureSynchronizer() -{ - QTC_ASSERT(m_instance, return nullptr); - return &m_instance->d->m_futureSynchronizer; -} - void PythonPlugin::initialize() { d = new PythonPluginPrivate; |