Skip to content

Commit

Permalink
πŸ› fix cost of cancelled intents
Browse files Browse the repository at this point in the history
  • Loading branch information
o4kapuk committed Dec 5, 2023
1 parent 0a59e26 commit 7d5272a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/runtime/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ global._init = (function() {
remove(id, name) {
if (this.list[id] && this.list[id][name]) {
delete this.list[id][name];
this.cpu -= intentCpu;
return true;
}
return false;
Expand Down

0 comments on commit 7d5272a

Please sign in to comment.