Skip to content

Commit

Permalink
Bump the version to 0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
aguspdana committed Nov 26, 2023
1 parent 0b77f90 commit f2a458c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mesin",
"version": "0.0.5",
"version": "0.0.6",
"description": "An atomic state management system that automatically track dependencies using signals",
"license": "MIT",
"author": "Agus Putra Dana",
Expand Down
6 changes: 1 addition & 5 deletions src/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,8 @@ export class Manager {
}

send_pending_notifications() {
if (this.contexts.length !== 0) {
return;
}
while (this.pending_notifications.length !== 0) {
const notify = this.pending_notifications.pop();
notify();
this.pending_notifications.pop()?.();
}
}

Expand Down

0 comments on commit f2a458c

Please sign in to comment.