diff --git a/renderdocui/Windows/MainWindow.cs b/renderdocui/Windows/MainWindow.cs index 42930f2eb..b90a707ab 100644 --- a/renderdocui/Windows/MainWindow.cs +++ b/renderdocui/Windows/MainWindow.cs @@ -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)