summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodegen_test.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2013-06-11 23:35:21 +0300
committerOrgad Shaneh <orgads@gmail.com>2013-06-12 12:35:59 +0200
commite3e177d40781fb68f1f9744817935c79d121b482 (patch)
tree9e1737a653695f570aae52ac0679564113b8419b /src/plugins/cpptools/cppcodegen_test.cpp
parent99ba6fb8da4c4ce2b9b18b921f1fc42a077df07f (diff)
downloadqt-creator-e3e177d40781fb68f1f9744817935c79d121b482.tar.gz
QtSingleApplication: Fix race
If a starting instance locks the shared memory while another instance that is destructed tries to lock, when the destructed one tests for running peers, it doesn't detect the newly started instance, since its QtLocalPeer object is not initialized until after parsing the command-line arguments Change-Id: I05aeb771ba67390f554bff7a80c475b3e4d37984 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppcodegen_test.cpp')
0 files changed, 0 insertions, 0 deletions