Python: Remove unneeded mutex

The mutex may potentially block concurrent calls to
Pip::infoImpl().

Make infoImpl() a static method in cpp.

Change-Id: I06e2de08674b5669e58684743d67a569da43d662
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Jarek Kobus
2023-04-04 15:31:03 +02:00
parent 06427a038b
commit da7009ac16
2 changed files with 7 additions and 12 deletions

View File

@@ -55,9 +55,6 @@ public:
private:
Pip(const Utils::FilePath &python);
PipPackageInfo infoImpl(const PipPackage &package);
QMutex m_lock;
Utils::FilePath m_python;
};