Skip to content

Commit

Permalink
Fix: 'stack exceeded' error on node.js v0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxwolf committed Nov 2, 2015
1 parent 48eb571 commit 4ad4812
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/deps/forge.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,4 @@ modeRaw.prototype.decrypt = function(input, output) {
forge.cipher.registerAlgorithm(name, factory);
})();

// Redefine util.setImmediate(cb) to always be util.nextTick(cb)
(function() {
if (forge.util.nextTick !== forge.util.setImmediate) {
forge.util.setImmediate = forge.util.nextTick;
}
})();

module.exports = forge;

0 comments on commit 4ad4812

Please sign in to comment.