Skip to content
Snippets Groups Projects
Commit f867a9e7 authored by Antti Soininen's avatar Antti Soininen
Browse files

Add locking in WorkspaceTreeWidget fixing a segfault.

When renaming workspaces in a Python script, two threads were accessing
m_selectedNames and m_renameMap; one of them calling the clear() method
and the other keys(). To prevent the race condition there, the methods
in question now acquire a lock before any read/write operation.

Re #23513
parent 94f72309
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment