mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user