Skip to content

Commit

Permalink
Remove binding the invoke function to the possibly active domain (#305).
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist authored and benjamn committed Jul 23, 2017
1 parent 32cc365 commit 9b6ebc0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/regenerator-runtime/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,6 @@
}
}

if (typeof global.process === "object" && global.process.domain) {
invoke = global.process.domain.bind(invoke);
}

var previousPromise;

function enqueue(method, arg) {
Expand Down

0 comments on commit 9b6ebc0

Please sign in to comment.