mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 05:05:44 +00:00
Don't try to set line number on disposed python shell
This commit is contained in:
@@ -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