diff options
author | Perttu Pohjonen <perttu.pohjonen@nokia.com> | 2011-03-07 06:49:00 (GMT) |
---|---|---|
committer | Perttu Pohjonen <perttu.pohjonen@nokia.com> | 2011-03-07 09:39:16 (GMT) |
commit | c15560fbe2a1762117395c5ecaaecfa5ab8dce6f (patch) | |
tree | 0ccf98b33078bc38ca3a5d6ca7a2e2b365d39a7d /src/plugins/bearer | |
parent | 2b27874672bf498be65a91af95565e0c4e270e91 (diff) | |
download | Qt-c15560fbe2a1762117395c5ecaaecfa5ab8dce6f.zip Qt-c15560fbe2a1762117395c5ecaaecfa5ab8dce6f.tar.gz Qt-c15560fbe2a1762117395c5ecaaecfa5ab8dce6f.tar.bz2 |
Unsuccessful unlocking of QNetworkConfigurationPrivate mutex
Above mentioned mutex is locked twice: first in caller function and second time in called function. Called function unlocks mutex and emits signal clearly unaware that the mutex is actually still locked. I changed the mutex to be unlocked before the function is called.
Task-number: QTBUG-15108
Reviewed-by: Ville Pernu
Diffstat (limited to 'src/plugins/bearer')
-rw-r--r-- | src/plugins/bearer/symbian/symbianengine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/bearer/symbian/symbianengine.cpp b/src/plugins/bearer/symbian/symbianengine.cpp index fc480c2..e315d9f 100644 --- a/src/plugins/bearer/symbian/symbianengine.cpp +++ b/src/plugins/bearer/symbian/symbianengine.cpp @@ -829,6 +829,7 @@ void SymbianEngine::updateStatesToSnaps() discovered = true; } } + snapConfigLocker.unlock(); if (active) { changeConfigurationStateTo(ptr, QNetworkConfiguration::Active); } else if (discovered) { |