Fix crash when switching back to local context with connections open

This commit is contained in:
baldurk
2016-10-06 15:24:18 +02:00
parent 5b02be386f
commit aadde675a9
+1 -1
View File
@@ -1182,7 +1182,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;
live.CleanItems();