Cleanup a cross-thread command dtor. It was technically
correct but looked a bit dodgy with pointer ownership.meow-7.2.2
parent
e0e223c196
commit
622c9f772c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue