Ensure replay controller only gets deleted via Shutdown()

This commit is contained in:
baldurk
2020-12-16 14:42:20 +00:00
parent 539ea53b3c
commit 523af0f2b4
4 changed files with 27 additions and 24 deletions
+1 -1
View File
@@ -1648,7 +1648,7 @@ rdcpair<ReplayStatus, IReplayController *> RemoteServer::OpenCapture(
if(status != ReplayStatus::Succeeded)
{
SAFE_DELETE(rend);
rend->Shutdown();
ret.first = status;
return ret;
}