mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-12 14:58:08 +01:00
close channel on client discard
This commit is contained in:
1 parent
d0795bd849
commit
34d7ac0808
3 files changed
+13
-3
No files matched your search
@@ -52,7 +52,7 @@ func (b *Broker) Register(client Client) {
|
||||
b.store.Set(client.Id(), client)
|
||||
}
|
||||
|
||||
// Unregister removes a single client by its id.
|
||||
// Unregister removes a single client by its id and marks it as discarded.
|
||||
//
|
||||
// If client with clientId doesn't exist, this method does nothing.
|
||||
func (b *Broker) Unregister(clientId string) {
|
||||
|
||||
Reference in new issue
Block a user