Make sure to delete records when resources are destroyed.
Make sure to delete records when resources are destroyed.

* If we're capturing, the frame references will keep the resource alive
  and the application has to at least keep resources alive until after
  GPU execution is finished.

TurtleRockStudios/renderdoc_public,moradin/renderdoc,etnlGD/renderdoc,victor-moya/renderdoc,Anteru/renderdoc,cgmb/renderdoc,Yours3lf/renderdoc,Zorro666/renderdoc,googlestadia/renderdoc,googlestadia/renderdoc,Zorro666/renderdoc,baldurk/renderdoc,moradin/renderdoc,cgmb/renderdoc,victor-moya/renderdoc,Yours3lf/renderdoc,TurtleRockStudios/renderdoc_public,baldurk/renderdoc,Yours3lf/renderdoc,baldurk/renderdoc,googlestadia/renderdoc,Anteru/renderdoc,Velro/renderdoc,baldurk/renderdoc,etnlGD/renderdoc,etnlGD/renderdoc,michaelrgb/renderdoc,Lssikkes/renderdoc,Yours3lf/renderdoc,Yours3lf/renderdoc,Zorro666/renderdoc,Lssikkes/renderdoc,victor-moya/renderdoc,TurtleRockStudios/renderdoc_public,TurtleRockStudios/renderdoc_public,Velro/renderdoc,moradin/renderdoc,cgmb/renderdoc,etnlGD/renderdoc,moradin/renderdoc,Zorro666/renderdoc,etnlGD/renderdoc,victor-moya/renderdoc,etnlGD/renderdoc,Anteru/renderdoc,moradin/renderdoc,cgmb/renderdoc,victor-moya/renderdoc,victor-moya/renderdoc,Anteru/renderdoc,moradin/renderdoc,Lssikkes/renderdoc,Lssikkes/renderdoc,Anteru/renderdoc,Velro/renderdoc,cgmb/renderdoc,Velro/renderdoc,baldurk/renderdoc,baldurk/renderdoc,TurtleRockStudios/renderdoc_public,Zorro666/renderdoc,Velro/renderdoc,googlestadia/renderdoc,googlestadia/renderdoc,michaelrgb/renderdoc,Velro/renderdoc,Anteru/renderdoc,Yours3lf/renderdoc,Anteru/renderdoc,Lssikkes/renderdoc,TurtleRockStudios/renderdoc_public,michaelrgb/renderdoc,Lssikkes/renderdoc,googlestadia/renderdoc,michaelrgb/renderdoc,Zorro666/renderdoc,michaelrgb/renderdoc