Skip to content

Commit

Permalink
fix exception when getting meteor ready
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardoventurini committed Aug 13, 2024
1 parent a1583ab commit 8798377
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/runtime/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,9 @@ Ep.gatherReadyAsyncParents = function (readyList) {

Ep.setAsyncEvaluation = function () {
if (this.asyncEvaluationIndex !== null) {
if (this.status === 'evaluated') {
return
}
throw new Error('setAsyncEvaluation can only be called once');
}

Expand Down

0 comments on commit 8798377

Please sign in to comment.