Cleanup a cross-thread command dtor. It was technically

correct but looked a bit dodgy with pointer ownership.
meow-7.2.2
Monty Brandenberg 2010-12-13 11:17:41 -05:00
parent e0e223c196
commit 622c9f772c
1 changed files with 2 additions and 1 deletions

View File

@ -1844,8 +1844,9 @@ LLTextureFetch::~LLTextureFetch()
while (! mCommands.empty())
{
delete mCommands.front();
TFRequest * req(mCommands.front());
mCommands.erase(mCommands.begin());
delete req;
}
// ~LLQueuedThread() called here