mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-20 23:21:20 +02:00
Remove images from image cache on exit
This commit is contained in:
@@ -31,7 +31,10 @@ RequestBroker::RequestBroker()
|
||||
|
||||
RequestBroker::~RequestBroker()
|
||||
{
|
||||
|
||||
for(std::deque<std::pair<std::string, VideoBuffer*> >::iterator iter = imageCache.begin(), end = imageCache.end(); iter != end; ++iter)
|
||||
{
|
||||
delete (*iter).second;
|
||||
}
|
||||
}
|
||||
|
||||
void RequestBroker::assureRunning()
|
||||
|
Reference in New Issue
Block a user