taskbar: Handle SIGCHLD as part of the event loop
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3e5bdc8c80
commit
d3a347e432
@ -40,7 +40,7 @@ Result<int> luna_main(int argc, char** argv)
|
|||||||
ui::App app;
|
ui::App app;
|
||||||
TRY(app.init(argc, argv));
|
TRY(app.init(argc, argv));
|
||||||
|
|
||||||
signal(SIGCHLD, sigchld_handler);
|
TRY(os::EventLoop::the().register_signal_handler(SIGCHLD, sigchld_handler));
|
||||||
|
|
||||||
ui::Rect screen = app.screen_rect();
|
ui::Rect screen = app.screen_rect();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user