diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2011-03-22 17:46:39 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2011-03-23 11:03:01 (GMT) |
commit | f31dfc682402396e35dffd8952eb5ced8f6b4030 (patch) | |
tree | 8fac5a67f3587bdc33d6a1098dccb6cc0070a244 /src/network/kernel | |
parent | 3f4dca824126a2d5e7d31e122a16118b79ef78d8 (diff) | |
download | Qt-f31dfc682402396e35dffd8952eb5ced8f6b4030.zip Qt-f31dfc682402396e35dffd8952eb5ced8f6b4030.tar.gz Qt-f31dfc682402396e35dffd8952eb5ced8f6b4030.tar.bz2 |
Fix event loop hangs caused by async QHostInfo
Declaring iStatus in a derived class hides the iStatus in CActive.
This confuses the active scheduler (which is using CActive::iStatus) and
would in a normal symbian application have caused a stray signal panic.
However as Qt's event loop integration uses CActiveScheduler::RunIfReady
instead of the normal CActiveScheduler::Start the panic does not happen.
Instead the thread semaphore gets messed up and causes problems.
Reviewed-by: Markus Goetz
Diffstat (limited to 'src/network/kernel')
-rw-r--r-- | src/network/kernel/qhostinfo_p.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/network/kernel/qhostinfo_p.h b/src/network/kernel/qhostinfo_p.h index a40104a..bff5fc4 100644 --- a/src/network/kernel/qhostinfo_p.h +++ b/src/network/kernel/qhostinfo_p.h @@ -254,8 +254,6 @@ private: RHostResolver iHostResolver; QSharedPointer<QNetworkSession> iNetworkSession; - TRequestStatus iStatus; - TNameEntry iNameResult; QHostAddress iAddress; |