Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Publish v0.3.0-alpha.8 fix not setting running to false in sync/Latest
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenmeier committed Mar 15, 2024
1 parent 4e1cb96 commit 8a8bd40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fire-lib-js",
"version": "0.3.0-alpha.7",
"version": "0.3.0-alpha.8",
"author": "Sören Meier <[email protected]>",
"type": "module",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions src/sync/Latest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ export default class Latest {
this.listeners.forEach(resolve => resolve(true));
this.listeners = [];

// queued as a microtask
latest(false);

this.running = false;
},
};
}
Expand Down

0 comments on commit 8a8bd40

Please sign in to comment.