Skip to content

Commit

Permalink
fix: move poll timer start to after event subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Welker committed Jul 8, 2024
1 parent 8c95ec4 commit c6af694
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ private void HandleRoomCombineScenarioChanged()
_lockoutPollTimer.Enabled = false;
_lockoutPollTimer.AutoReset = true;
}
_lockoutPollTimer.Start();

_lockoutPollTimer.Elapsed += (s, a) =>
{
Debug.LogMessage(LogEventLevel.Verbose, "Lockout Poll Timer Elapsed", null, null);
Expand All @@ -235,6 +235,8 @@ private void HandleRoomCombineScenarioChanged()
}
_mcTpController.UisCiscoCodec.EnqueueCommand(UiWebViewDisplay.xCommandStatus());
};

_lockoutPollTimer.Start();
return;
}
return;
Expand Down

0 comments on commit c6af694

Please sign in to comment.