Skip to content

Commit

Permalink
chore: update allocatePromiseID to use nextExportID
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert committed Dec 15, 2023
1 parent fb333ee commit 59f8613
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/swingset-liveslots/tools/fakeVirtualSupport.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ export function makeFakeLiveSlotsStuff(options = {}) {
}

function allocatePromiseID() {
return vrm.allocateNextID('promiseID');
const exportID = nextExportID;
nextExportID += 1;
return exportID;
}

let nextCollectionID = 1;
Expand Down

0 comments on commit 59f8613

Please sign in to comment.