Only reset the backend pointer after we're done with it
commit77945d775006c296632c293fb320c5308901d5ec
authorJoão Abecasis <joao@abecasis.name>
Thu, 10 Sep 2009 12:40:52 +0000 (10 14:40 +0200)
committerJoão Abecasis <joao@abecasis.name>
Thu, 10 Sep 2009 12:55:04 +0000 (10 14:55 +0200)
treeb71e6e86ad4a3041d3407da6c97c954042b5e48b
parentebc0079ee5fa70564816817a2ea4aecd7ff189db
Only reset the backend pointer after we're done with it

Since 925912ebf552417306a5bd20fd986afda6a582be QNetworkReplyImplPrivate
no longer holds its own pointer to the network cache and relies on the
backend to get it. Since the cache is used in our call to finished, we
must reset the backend only after that.

This fixes a crash I was seeing in Arora...

Reviewed-by: Markus Goetz
Reviewed-by: Peter Hartmann
src/network/access/qnetworkreplyimpl.cpp