simtr / PowderToypp

This repository has been moved to https://github.com/FacialTurd/The-Powder-Toy
https://github.com/FacialTurd/The-Powder-Toy
GNU General Public License v3.0
20 stars 12 forks source link

Crash when exiting game before thumbnails have finished loading. #179

Closed jacob1 closed 11 years ago

jacob1 commented 12 years ago

The crash happens at line 420 of http.cpp (actually 248 of ThumbnailBroker.cpp - if(http_async_req_status( req.HTTPContext))). I don't now enough about http or multiple threads to fix it, it's probably that the thumbnail threads don't get closed somewhere when they should be.

I also get a crash (corruption of the heap) when I click on a username to search for it, and on a history button that i'm making. Edit: The buttons are already done if you want them, I also added the icons back to the buttons on top of the save browser

jacob1 commented 12 years ago

I fixed the second part of this here