From 0f078cdedf4bc03d28dbd1bd1646d7bfdc3f2c0b Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 24 Aug 2016 13:01:37 +0200 Subject: [PATCH] Special-case localhost to not to remote server checks * The localhost is the local replay context, which is not remote at all. --- renderdocui/Code/PersistantConfig.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/renderdocui/Code/PersistantConfig.cs b/renderdocui/Code/PersistantConfig.cs index 6cfa59824..399c68ea3 100644 --- a/renderdocui/Code/PersistantConfig.cs +++ b/renderdocui/Code/PersistantConfig.cs @@ -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);