Last active
August 29, 2015 14:10
-
-
Save trevnorris/bb0078f2acb77ad67825 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var async_wrap = process.binding('async_wrap'); | |
var b = {}; | |
function initHook() { | |
this._asyncQueue = {}; | |
} | |
function preHook() { | |
throw new Error('preHook'); | |
} | |
function postHook() { | |
} | |
async_wrap.setupHooks(b, initHook, preHook, postHook); | |
b[0] = 1; | |
require('fs').stat('/not/exists', function() { }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment