Don't skip modified shaders when tex viewer is just in another tab

* We only want to skip these events if the texture viewer has actually
  been closed and destroyed.
This commit is contained in:
baldurk committed 2017-08-02 15:30:56 +01:00
1 parent f5542ead7f
commit 42add67bf8
1 file changed
+1 -1
+1 -1
View File
@@ -1132,7 +1132,7 @@ namespace renderdocui.Windows
void CustomShaderModified(object sender, FileSystemEventArgs e)
{
if (!Visible || IsDisposed) return;
if (IsDisposed) return;
Thread.Sleep(5);
BeginInvoke((MethodInvoker)delegate