mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 09:26:52 +00:00
Speculative fix for crash report NullReferenceException in OnInject
This commit is contained in:
@@ -254,7 +254,7 @@ namespace renderdocui.Windows.Dialogs
|
||||
|
||||
var live = m_InjectCallback(PID, name, GetSettings().Options);
|
||||
|
||||
if (queueFrameCap.Checked)
|
||||
if (queueFrameCap.Checked && live != null)
|
||||
live.QueueCapture((int)queuedCapFrame.Value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user