Skip to content

Often have to click stop twice for state to change to stopping #1022

@Eddasol

Description

@Eddasol

Describe the bug
Often when clicking stop we often get the log
2025-12-11 09:51:31,206 - INFO: - api - Received request to stop current mission
2025-12-11 09:51:31,207 - INFO: - api - OK - Mission successfully stopped
but the state doesn't change to stopping and the mission keeps running.

If clicking stop once more the state becomes stopping and the mission stops with this log
2025-12-11 09:51:48,477 - INFO: - api - Received request to stop current mission
2025-12-11 09:51:48,572 - INFO: - state_machine - State: States.Stopping
2025-12-11 09:51:48,573 - INFO: - api - OK - Mission successfully stopped

To Reproduce
Steps to reproduce the behavior:

Expected behavior
Should stop after first request

Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions