Merge branch 'development' into feature/cecportcontroller-with-streamdebugging

This commit is contained in:
Andrew Welker 2021-03-11 09:06:52 -07:00 committed by GitHub
commit 33bf98303d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 91 additions and 329 deletions

View file

@ -47,7 +47,7 @@ namespace PepperDash.Essentials.Core.Utilities
/// </summary>
public void StartSequence()
{
if (_worker.ThreadState == Thread.eThreadStates.ThreadRunning)
if (_worker !=null && _worker.ThreadState == Thread.eThreadStates.ThreadRunning)
{
Debug.Console(1, this, "Thread already running. Cannot Start Sequence");
return;