Fix possible crash with pixel history if window is closed early
Fix possible crash with pixel history if window is closed early

cgmb/renderdoc,etnlGD/renderdoc,cgmb/renderdoc,googlestadia/renderdoc,TurtleRockStudios/renderdoc_public,cgmb/renderdoc,googlestadia/renderdoc,etnlGD/renderdoc,michaelrgb/renderdoc,TurtleRockStudios/renderdoc_public,baldurk/renderdoc,michaelrgb/renderdoc,googlestadia/renderdoc,googlestadia/renderdoc,etnlGD/renderdoc,etnlGD/renderdoc,etnlGD/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,TurtleRockStudios/renderdoc_public,googlestadia/renderdoc,cgmb/renderdoc,Zorro666/renderdoc,michaelrgb/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,TurtleRockStudios/renderdoc_public,baldurk/renderdoc,baldurk/renderdoc,TurtleRockStudios/renderdoc_public,michaelrgb/renderdoc,TurtleRockStudios/renderdoc_public,baldurk/renderdoc,Zorro666/renderdoc,michaelrgb/renderdoc,googlestadia/renderdoc,Zorro666/renderdoc,Zorro666/renderdoc,cgmb/renderdoc,etnlGD/renderdoc