diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2013-06-11 23:35:21 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2013-06-12 12:35:59 +0200 |
commit | e3e177d40781fb68f1f9744817935c79d121b482 (patch) | |
tree | 9e1737a653695f570aae52ac0679564113b8419b /src/plugins/cpptools/cppcodegen_test.cpp | |
parent | 99ba6fb8da4c4ce2b9b18b921f1fc42a077df07f (diff) | |
download | qt-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