diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2021-06-15 14:23:15 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2021-06-16 11:41:58 +0000 |
commit | d4c36f43b0bdf7594bf3ce8652a9250623f41dee (patch) | |
tree | 38839d543239343fc0548241021dde1c0cb29b0e /src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp | |
parent | 905f5d4e1b5784001138f2acbbad0ed9c49aa714 (diff) |
Protect the access to module path for executable cache
The getPylsModulePath() may be called concurrently:
PyLSConfigureAssistant::openDocumentWithPython() ->
runAsync -> checkPythonLanguageServer() ->
getPylsModulePath(), so protect the access to the
static cache by mutex.
Amends: 54f2ebf91d76d05d0202de5263939fc4ba227fed
Change-Id: Ia88a9e680b092bcc7cf62338387775521d497835
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp')
0 files changed, 0 insertions, 0 deletions