node: fix close bug.

This commit is contained in:
Christopher Jeffrey 2017-07-01 07:00:35 -07:00
parent 3a6fbc4d21
commit 5e78cf4998
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -127,7 +127,7 @@ Node.prototype.init = function init() {
this.handlePreopen();
});
this.hook('preopen', () => {
this.hook('preclose', () => {
this.handlePreclose();
});