fix: iocp integration when process is reused (#33207)
This commit is contained in:
parent
e100402b13
commit
4cc2ed842e
9 changed files with 83 additions and 17 deletions
|
@ -15,6 +15,7 @@ class NodeBindingsLinux : public NodeBindings {
|
|||
explicit NodeBindingsLinux(BrowserEnvironment browser_env);
|
||||
~NodeBindingsLinux() override;
|
||||
|
||||
void PrepareMessageLoop() override;
|
||||
void RunMessageLoop() override;
|
||||
|
||||
private:
|
||||
|
@ -25,6 +26,9 @@ class NodeBindingsLinux : public NodeBindings {
|
|||
|
||||
// Epoll to poll for uv's backend fd.
|
||||
int epoll_;
|
||||
|
||||
// uv's backend fd.
|
||||
int handle_ = -1;
|
||||
};
|
||||
|
||||
} // namespace electron
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue