Don't try to set line number on disposed python shell

This commit is contained in:
baldurk
2017-05-17 11:57:10 +01:00
parent 8a1304f6b4
commit b69a71c885
+1 -1
View File
@@ -365,7 +365,7 @@ namespace renderdocui.Windows.Dialogs
private void SetLineNumber(int lineNum)
{
if (recurse || me == null || me.scriptEditor == null)
if (recurse || me == null || me.IsDisposed || me.scriptEditor == null)
return;
recurse = true;