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 14, 2023
1 parent f73dd00 commit cb435a5
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 cb435a5

Please sign in to comment.