mirror of
https://github.com/Ylianst/MeshAgent
synced 2026-02-13 23:13:42 +00:00
Fixed Windows Handle leak
This commit is contained in:
@@ -57,6 +57,7 @@ function dispatch(options)
|
||||
this._control.write(h);
|
||||
this._control.write(d);
|
||||
};
|
||||
s.on('end', function () { }); // DO NOT DELETE this line
|
||||
});
|
||||
ret._ipc.once('connection', function onConnect(s)
|
||||
{
|
||||
|
||||
@@ -150,6 +150,7 @@ function windows_registry()
|
||||
result.values.push(achValue.Wide2UTF8);
|
||||
}
|
||||
}
|
||||
this._AdvApi.RegCloseKey(h.Deref());
|
||||
return (result);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user