mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 22:43:49 +00:00
Don't try to set line number on disposed python shell
This commit is contained in:
1 parent
8a1304f6b4
commit
b69a71c885
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user