mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-09-20 13:30:50 +02:00
reorder records list watchers and cancel prev count requests
This commit is contained in:
@@ -16,6 +16,7 @@ function semaphoreAdd(fn) {
|
||||
semaphoreProcess();
|
||||
}
|
||||
|
||||
// release func that must be called manually after done with the loading
|
||||
return () => {
|
||||
semaphore.pending.delete(fn);
|
||||
semaphore.processing.delete(fn);
|
||||
|
||||
Reference in New Issue
Block a user