Skip to content

Conversation

@jtguggedal
Copy link
Contributor

Fixes a bug where network search was not stopped when NETWORK_DISCONNECT or NETWORK_STOP_SEARCH was received in STATE_DISCONNECTED_SEARCHING. Instead, there was just a transition to STATE_DISCONNECTED_IDLE while the search kept going in the background.

This patch adds an explicit disconnection call before transitioning state.

Fixes a bug where network search was not stopped when
NETWORK_DISCONNECT or NETWORK_STOP_SEARCH was received in
STATE_DISCONNECTED_SEARCHING. Instead, there was just a
transition to STATE_DISCONNECTED_IDLE while the search kept
going in the background.

This patch adds an explicit disconnection call before
transitioning state.

Signed-off-by: Jan Tore Guggedal <[email protected]>
Update the storage module plant UML to be in line with the
current state machine design.

Signed-off-by: Jan Tore Guggedal <[email protected]>
@sonarqubecloud
Copy link

@jtguggedal jtguggedal merged commit 56cbd22 into main Jan 13, 2026
11 checks passed
@jtguggedal jtguggedal deleted the network-stop-search branch January 13, 2026 12:53
@jtguggedal jtguggedal restored the network-stop-search branch January 13, 2026 12:59
@jtguggedal jtguggedal deleted the network-stop-search branch January 13, 2026 12:59
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.

2 participants