mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Don't delete objects allocated in renderdoc module outside it.
This commit is contained in:
@@ -644,7 +644,7 @@ void PixelHistoryView::startDebug(EventTag tag)
|
||||
if(trace->states.count == 0)
|
||||
{
|
||||
RDDialog::critical(this, tr("Debug Error"), tr("Error debugging pixel."));
|
||||
delete trace;
|
||||
m_Ctx.Replay().AsyncInvoke([trace](IReplayController *r) { r->FreeTrace(trace); });
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user