Add BIND_DONE event for process object

This commit is contained in:
Cheng Zhao 2014-10-25 23:21:17 +08:00
parent e110f5c37c
commit 24b4fcea15
3 changed files with 6 additions and 4 deletions

View file

@ -84,5 +84,5 @@ if nodeIntegration in ['true', 'all', 'except-iframe', 'manual-enable-iframe']
else
# There still some native initialization codes needs "process", delete the
# global reference after they are done.
setImmediate ->
process.once 'BIND_DONE', ->
delete global.process