mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 21:50:34 +03:00
Clear LQ callback when unsubscibe (#1214)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
parent
7d452e2eb6
commit
cdb303d873
@ -137,6 +137,7 @@ export class LiveQuery extends TxProcessor implements Client {
|
||||
})
|
||||
|
||||
return () => {
|
||||
q.callback = () => {}
|
||||
this.queries.splice(this.queries.indexOf(q), 1)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user