mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-28 04:09:00 +00:00
LibWebView: Increase the open file limit in a more central location
We don't create a ChromeProcess in headless-browser, so it is currently not increasing it's open file limit. This is causing crashes on macOS, which has a very low default limit.
This commit is contained in:
parent
cb4b2ca681
commit
598fabbdd3
Notes:
github-actions[bot]
2024-10-07 18:04:04 +00:00
Author: https://github.com/trflynn89
Commit: 598fabbdd3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1668
Reviewed-by: https://github.com/awesomekling ✅
5 changed files with 8 additions and 14 deletions
|
@ -49,7 +49,7 @@ public:
|
|||
ExitProcess,
|
||||
};
|
||||
|
||||
static ErrorOr<ChromeProcess> create();
|
||||
ChromeProcess() = default;
|
||||
~ChromeProcess();
|
||||
|
||||
ErrorOr<ProcessDisposition> connect(Vector<ByteString> const& raw_urls, NewWindow new_window);
|
||||
|
@ -58,8 +58,6 @@ public:
|
|||
Function<void(Vector<URL::URL> const&)> on_new_window;
|
||||
|
||||
private:
|
||||
ChromeProcess() = default;
|
||||
|
||||
ErrorOr<void> connect_as_client(ByteString const& socket_path, Vector<ByteString> const& raw_urls, NewWindow new_window);
|
||||
ErrorOr<void> connect_as_server(ByteString const& socket_path);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue