mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
async handles should be closed on exit
This commit is contained in:
@@ -84,6 +84,7 @@ AtomBindings::AtomBindings() {
|
||||
}
|
||||
|
||||
AtomBindings::~AtomBindings() {
|
||||
uv_close(reinterpret_cast<uv_handle_t*>(&call_next_tick_async_), nullptr);
|
||||
}
|
||||
|
||||
void AtomBindings::BindTo(v8::Isolate* isolate,
|
||||
|
||||
@@ -117,6 +117,7 @@ NodeBindings::~NodeBindings() {
|
||||
|
||||
// Clear uv.
|
||||
uv_sem_destroy(&embed_sem_);
|
||||
uv_close(reinterpret_cast<uv_handle_t*>(&dummy_uv_handle_), nullptr);
|
||||
}
|
||||
|
||||
void NodeBindings::Initialize() {
|
||||
|
||||
Reference in New Issue
Block a user