mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-23 10:50:49 +00:00
LibCore: Make all processes opt out of InspectorServer by default
This functionality, while neat, isn't really something you need enabled all the time. Let's make it opt-in instead. Pass MakeInspectable::Yes to the Core::EventLoop constructor if you want your program to become inspectable.
This commit is contained in:
parent
76a07b31e4
commit
c9e849a968
Notes:
sideshowbarker
2024-07-18 17:31:33 +09:00
Author: https://github.com/awesomekling
Commit: c9e849a968
4 changed files with 4 additions and 5 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
int main(int, char**)
|
||||
{
|
||||
Core::EventLoop event_loop(Core::EventLoop::MakeInspectable::No);
|
||||
Core::EventLoop event_loop;
|
||||
auto server = Core::LocalServer::construct();
|
||||
|
||||
if (pledge("stdio unix accept", nullptr) < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue