mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 05:35:48 +00:00
Allow shutting down the active remote server
This commit is contained in:
@@ -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