Commit bad15144 authored by Michal Klocek's avatar Michal Klocek
Browse files

Fix simplebrowser crash on exit while downloading


On webengine profile destruction all download
items in progress are canceled. This triggered
stateChanged of QWebEngineDownloadItem which
called lambda function on already deleted object.

Do not use lambda functions in this case.

Change-Id: Ia1d359fe47204baa51f1380d1c3547c28550bc28
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: default avatarViktor Engelmann <viktor.engelmann@qt.io>
parent 90516059
Showing with 5 additions and 7 deletions
Supports Markdown
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