node: fix close bug.
This commit is contained in:
parent
3a6fbc4d21
commit
5e78cf4998
@ -127,7 +127,7 @@ Node.prototype.init = function init() {
|
||||
this.handlePreopen();
|
||||
});
|
||||
|
||||
this.hook('preopen', () => {
|
||||
this.hook('preclose', () => {
|
||||
this.handlePreclose();
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user