Please sign in to comment.
Fix thumbnails sometimes not being resized in the save browser
This was because ImageRequest::Finish used its Width and Height members after calling Request::Finish, after which the ImageRequest object may get deleted at any time by RequestManager. One solution to this is to copy (or preferably move) important members to local variables in the Finish functions of objects derived from Request and use only those after calling Request::Finish (or anything that in turn calls that).
- Loading branch information...
Showing with 15 additions and 1 deletion.