mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: iocp integration when process is reused (#33207)
This commit is contained in:
@@ -15,6 +15,7 @@ class NodeBindingsMac : public NodeBindings {
|
||||
explicit NodeBindingsMac(BrowserEnvironment browser_env);
|
||||
~NodeBindingsMac() override;
|
||||
|
||||
void PrepareMessageLoop() override;
|
||||
void RunMessageLoop() override;
|
||||
|
||||
private:
|
||||
@@ -22,6 +23,9 @@ class NodeBindingsMac : public NodeBindings {
|
||||
static void OnWatcherQueueChanged(uv_loop_t* loop);
|
||||
|
||||
void PollEvents() override;
|
||||
|
||||
// uv's backend fd.
|
||||
int handle_ = -1;
|
||||
};
|
||||
|
||||
} // namespace electron
|
||||
|
||||
Reference in New Issue
Block a user