Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
O
openclaw-android-node
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lisa
openclaw-android-node
Commits
10f06934
Commit
10f06934
authored
Mar 11, 2026
by
Lisa (AI Assistant)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Ensure connection status is emitted on WebSocket close
parent
1d0cb0f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
NodeClient.kt
...n/java/com/nexlab/openclaw/node/data/remote/NodeClient.kt
+3
-1
No files found.
app/src/main/java/com/nexlab/openclaw/node/data/remote/NodeClient.kt
View file @
10f06934
...
...
@@ -297,6 +297,8 @@ class NodeClient() {
}
webSocket
.
close
(
1000
,
null
)
// Emit connection status
_connectionStatus
.
trySend
(
ConnectionStatus
(
false
,
nodeId
))
}
override
fun
onClosed
(
webSocket
:
WebSocket
,
code
:
Int
,
reason
:
String
)
{
...
...
@@ -312,9 +314,9 @@ class NodeClient() {
pendingPairingAfterConnect
=
true
// Don't reconnect here - let the app retry naturally
// The next connect() call will check pendingPairingAfterConnect
return
}
// Always emit connection status
_connectionStatus
.
trySend
(
ConnectionStatus
(
false
,
nodeId
))
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment