mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-30 08:18:49 +00:00
LibWebView: Port to Windows
This commit is contained in:
parent
2abc792938
commit
2dd657f530
Notes:
github-actions[bot]
2025-03-20 02:26:23 +00:00
Author: https://github.com/stasoid
Commit: 2dd657f530
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3002
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/AtkinsSJ
5 changed files with 33 additions and 13 deletions
|
@ -59,9 +59,11 @@ Application::~Application()
|
|||
|
||||
void Application::initialize(Main::Arguments const& arguments, URL::URL new_tab_page_url)
|
||||
{
|
||||
#ifndef AK_OS_WINDOWS
|
||||
// Increase the open file limit, as the default limits on Linux cause us to run out of file descriptors with around 15 tabs open.
|
||||
if (auto result = Core::System::set_resource_limits(RLIMIT_NOFILE, 8192); result.is_error())
|
||||
warnln("Unable to increase open file limit: {}", result.error());
|
||||
#endif
|
||||
|
||||
Vector<ByteString> raw_urls;
|
||||
Vector<ByteString> certificates;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue