mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 14:15:42 +00:00
Don't crash if switching to a local context while a live capture is open
This commit is contained in:
@@ -1137,7 +1137,7 @@ namespace renderdocui.Windows
|
||||
// allow live captures to this host to stay open, that way
|
||||
// we can connect to a live capture, then switch into that
|
||||
// context
|
||||
if (live.Hostname == host.Hostname)
|
||||
if (host != null && live.Hostname == host.Hostname)
|
||||
continue;
|
||||
|
||||
if (live.CheckAllowClose() == false)
|
||||
|
||||
Reference in New Issue
Block a user