Commit 7a5f9b62 authored by Allan Sandfeld Jensen's avatar Allan Sandfeld Jensen
Browse files

Fix crash when updating a storage context with active requests


Requests keep pointers to objects owneded by the storage context such
as the SSL context handler and HTTP cache. This means we must stop
all requests before destroying the context, otherwise the requests
will access deleted data.

Change-Id: I67863287b3ffb470c8d84ff6cac143493998a6da
Reviewed-by: default avatarAndras Becsi <andras.becsi@theqtcompany.com>
parent 3da7df93
No related merge requests found
Showing with 12 additions and 0 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment