System.NullReferenceException fix.
This commit is contained in:
parent
7486b2a490
commit
74655e976f
@ -2049,7 +2049,7 @@ namespace TBF.Rig.Sequences
|
||||
/// <returns></returns>
|
||||
protected bool TestAndLogUiCmdStop(Test test, IList<Event> e)
|
||||
{
|
||||
if (!e.Contains(Event.UiCmdStop)) return false;
|
||||
if (e == null || !e.Contains(Event.UiCmdStop)) return false;
|
||||
|
||||
log.FatalFormat("STOP pressed: Procedure={0}, Test={1}, State={2}",
|
||||
(StateMachine.Procedure == null) ? "?" : StateMachine.Procedure.Name,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user