mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-14 18:00:54 +00:00
Allow shutting down the active remote server
This commit is contained in:
1 parent
c1a0b4857b
commit
c10c487a02
3 files changed
+28
-7
No files matched your search
@@ -370,8 +370,19 @@ namespace renderdocui.Code
|
||||
m_Remote = null;
|
||||
}
|
||||
|
||||
public void ShutdownServer()
|
||||
{
|
||||
if(m_Remote != null)
|
||||
m_Remote.ShutdownServerAndConnection();
|
||||
|
||||
m_Remote = null;
|
||||
}
|
||||
|
||||
public void PingRemote()
|
||||
{
|
||||
if (m_Remote == null)
|
||||
return;
|
||||
|
||||
if (Monitor.TryEnter(m_Remote))
|
||||
{
|
||||
try
|
||||
|
||||
Reference in new issue
Block a user