sil-kit icon indicating copy to clipboard operation
sil-kit copied to clipboard

Demo how to Stop/ForceStop in any State

Open KonradBreitsprecherBkd opened this issue 2 months ago • 0 comments

Basic idea:

  • Call lifecycleService->Stop() only in Running/Paused state.
  • If the participant is in the wrong state to do so, a stopRequest is flagged and a timer is started.
  • If a stop is requested and the participant reaches Running/Paused in time, the graceful stop via lifecycleService->Stop() is performed.
  • If not, the timer fires and deletes the participant.

KonradBreitsprecherBkd avatar Oct 23 '25 11:10 KonradBreitsprecherBkd