Special-case localhost to not to remote server checks

* The localhost is the local replay context, which is not remote at all.
This commit is contained in:
baldurk
2016-08-24 13:01:37 +02:00
parent c68d5d94b1
commit 0f078cdedf
+8
View File
@@ -54,6 +54,14 @@ namespace renderdocui.Code
public void CheckStatus()
{
// special case - this is the local context
if (Hostname == "localhost")
{
ServerRunning = false;
VersionMismatch = Busy = false;
return;
}
try
{
RemoteServer server = StaticExports.CreateRemoteServer(Hostname, 0);