Skip to content

Commit

Permalink
Merge pull request #771 from null-a/rename-runner-global
Browse files Browse the repository at this point in the history
Rename global variable used to store runner.
  • Loading branch information
stuhlmueller committed Jan 31, 2017
2 parents b9305e3 + 2daf356 commit 22b8f88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ function prepare(codeAndAssets, k, options) {

// We store the trampoline runner so that header functions that call
// external asynchronous functions can resume execution in callbacks.
global.trampolineRunner = runner;
global.resumeTrampoline = runner;

// Before the program finishes, we tell the param store to finish up
// gracefully (e.g., shutting down a connection to a remote store).
Expand Down
2 changes: 1 addition & 1 deletion src/params/store/mongo.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var _collection = null;


function resume(thunk) {
global.trampolineRunner(thunk);
global.resumeTrampoline(thunk);
}

function assertInit() {
Expand Down

0 comments on commit 22b8f88

Please sign in to comment.