diff options
Diffstat (limited to 'src/rhimportd/ctrlWebSocket.go')
-rw-r--r-- | src/rhimportd/ctrlWebSocket.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rhimportd/ctrlWebSocket.go b/src/rhimportd/ctrlWebSocket.go index 5af59d5..1f04b84 100644 --- a/src/rhimportd/ctrlWebSocket.go +++ b/src/rhimportd/ctrlWebSocket.go @@ -292,6 +292,9 @@ func webSocketListUpdate(added, removed map[string]string, userdata interface{}) if len(arg.closed) > 0 { return false } + if added == nil && removed == nil { + return true + } select { case arg.updates <- webSocketSessionListUpdate{added, removed}: default: |