diff options
author | Brian Gianforcaro <b.gianfo@gmail.com> | 2020-04-07 03:08:54 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-07 12:14:35 +0200 |
commit | e54cc055ac62bbb74986baca509511fffe3aa84e (patch) | |
tree | dc61a1f8a98052deec2014a0894255143c675af8 | |
parent | f8d6d61da5fd5b074cb154c0dee6c7cbf3674c61 (diff) | |
download | serenity-e54cc055ac62bbb74986baca509511fffe3aa84e.zip |
HackStudio: pledge "thread" to fix opening files
It looks like HackStudio got broken when clicking on
a folder in the open file dialog. The thumbnail icons
appear to be loaded on a new thread.
-rw-r--r-- | DevTools/HackStudio/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DevTools/HackStudio/main.cpp b/DevTools/HackStudio/main.cpp index 92bbef59ae..d69f6b9da7 100644 --- a/DevTools/HackStudio/main.cpp +++ b/DevTools/HackStudio/main.cpp @@ -127,14 +127,14 @@ bool make_is_available(); int main(int argc, char** argv) { - if (pledge("stdio tty accept rpath cpath wpath shared_buffer proc exec unix fattr", nullptr) < 0) { + if (pledge("stdio tty accept rpath cpath wpath shared_buffer proc exec unix fattr thread", nullptr) < 0) { perror("pledge"); return 1; } GUI::Application app(argc, argv); - if (pledge("stdio tty accept rpath cpath wpath shared_buffer proc exec fattr", nullptr) < 0) { + if (pledge("stdio tty accept rpath cpath wpath shared_buffer proc exec fattr thread", nullptr) < 0) { perror("pledge"); return 1; } |