mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-23 16:01:38 +00:00
Ensure replay controller only gets deleted via Shutdown()
This commit is contained in:
@@ -1648,7 +1648,7 @@ rdcpair<ReplayStatus, IReplayController *> RemoteServer::OpenCapture(
|
||||
|
||||
if(status != ReplayStatus::Succeeded)
|
||||
{
|
||||
SAFE_DELETE(rend);
|
||||
rend->Shutdown();
|
||||
ret.first = status;
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user