Skip to content

Fix double detach from controller - #231

Open
RandomGuy155 wants to merge 1 commit into
kwsch:masterfrom
RandomGuy155:2xDetach
Open

Fix double detach from controller#231
RandomGuy155 wants to merge 1 commit into
kwsch:masterfrom
RandomGuy155:2xDetach

Conversation

@RandomGuy155

@RandomGuy155 RandomGuy155 commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Stop() called HardStop() which was then called again by MainLoop once the token was cancelled. Removed from Stop(). Just let the main loop handle stopping upon receiving the cancellation token. Moved IsPaused and IsStopping resets to the existing continuation in Start()

Closes #228

`Stop()` called `HardStop()` which was then called again by `MainLoop` once the token was cancelled. Removed from `Stop()`. Just let the main loop handle stopping upon receiving the cancellation token.  Moved `IsPaused` and `IsStopping` resets to the existing continuation in `Start()`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Manually Stopping a Bot Detaches Controllers Twice

1 participant