diff options
author | Robin Burchell <robin+git@viroteck.net> | 2019-07-16 20:44:15 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-16 20:47:32 +0200 |
commit | 825ce53fd39a0ff166f8d7804ad6b92906699c0e (patch) | |
tree | 046fcd7c295158f5041250da26fdb85c74396302 /Applications/Piano | |
parent | d8387f1506c90091d615ee7ba3ebb7bb0381a155 (diff) | |
download | serenity-825ce53fd39a0ff166f8d7804ad6b92906699c0e.zip |
Piano: Create the connection after the event loop
Otherwise it will crash when registering the CNotifier.
Diffstat (limited to 'Applications/Piano')
-rw-r--r-- | Applications/Piano/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Piano/main.cpp b/Applications/Piano/main.cpp index 029cfbb2b4..73a5f78a58 100644 --- a/Applications/Piano/main.cpp +++ b/Applications/Piano/main.cpp @@ -9,8 +9,8 @@ int main(int argc, char** argv) { - AClientConnection audio_connection; GApplication app(argc, argv); + AClientConnection audio_connection; auto* window = new GWindow; window->set_title("Piano"); |