mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
Piano: Create the connection after the event loop
Otherwise it will crash when registering the CNotifier.
This commit is contained in:
parent
d8387f1506
commit
825ce53fd3
Notes:
sideshowbarker
2024-07-19 13:14:08 +09:00
Author: https://github.com/rburchell
Commit: 825ce53fd3
Pull-request: https://github.com/SerenityOS/serenity/pull/321
Reviewed-by: https://github.com/awesomekling ✅
1 changed files with 1 additions and 1 deletions
|
@ -9,8 +9,8 @@
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
AClientConnection audio_connection;
|
|
||||||
GApplication app(argc, argv);
|
GApplication app(argc, argv);
|
||||||
|
AClientConnection audio_connection;
|
||||||
|
|
||||||
auto* window = new GWindow;
|
auto* window = new GWindow;
|
||||||
window->set_title("Piano");
|
window->set_title("Piano");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue