diff options
| author | Shane Kearns <shane.kearns@accenture.com> | 2011-03-28 16:53:45 (GMT) |
|---|---|---|
| committer | Shane Kearns <shane.kearns@accenture.com> | 2011-03-29 09:48:26 (GMT) |
| commit | b58eb992f162efc9db6cada9f037f7a0acbe5c57 (patch) | |
| tree | e36e1631bd8eb6d607c75daeb635fe4b1d014cb3 /doc/src/snippets/code/src_script_qscriptcontext.cpp | |
| parent | aa67255608d7b752fcdd6fcbabf518dbdbf4f98e (diff) | |
| download | Qt-b58eb992f162efc9db6cada9f037f7a0acbe5c57.zip Qt-b58eb992f162efc9db6cada9f037f7a0acbe5c57.tar.gz Qt-b58eb992f162efc9db6cada9f037f7a0acbe5c57.tar.bz2 | |
Ensure shared network session deleted from correct thread
Due to threaded http, the shared QNetworkSession can have its last
reference removed from a http delegate thread. To avoid this deadlocking
use a deleteLater custom deleter so that the QNS is deleted from the
thread it has affinity for.
Reviewed-by: Markus Goetz
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptcontext.cpp')
0 files changed, 0 insertions, 0 deletions
