From 17d95bc1db049d56d55c961566ca7ca76395346c Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Mon, 1 Nov 2021 23:32:40 +0100 Subject: [PATCH] Utilities: Remove misbehaving-application This used to be a target to demonstrate a bug in Inspector (#3159). However, now that the inspection direction has inverted, this no longer makes any sense. --- Userland/Utilities/CMakeLists.txt | 1 - .../Utilities/misbehaving-application.cpp | 23 ------------------- 2 files changed, 24 deletions(-) delete mode 100644 Userland/Utilities/misbehaving-application.cpp diff --git a/Userland/Utilities/CMakeLists.txt b/Userland/Utilities/CMakeLists.txt index a252b7c03d..81f5ec16b4 100644 --- a/Userland/Utilities/CMakeLists.txt +++ b/Userland/Utilities/CMakeLists.txt @@ -77,7 +77,6 @@ target_link_libraries(man LibMarkdown) target_link_libraries(markdown-check LibMarkdown) target_link_libraries(matroska LibVideo) target_link_libraries(md LibMarkdown) -target_link_libraries(misbehaving-application LibCore) target_link_libraries(notify LibGUI) target_link_libraries(open LibDesktop) target_link_libraries(pape LibGUI) diff --git a/Userland/Utilities/misbehaving-application.cpp b/Userland/Utilities/misbehaving-application.cpp deleted file mode 100644 index c72c817a9d..0000000000 --- a/Userland/Utilities/misbehaving-application.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (c) 2020, the SerenityOS developers. - * - * SPDX-License-Identifier: BSD-2-Clause - */ - -#include -#include -#include - -int main(int, char**) -{ - Core::EventLoop event_loop; - - auto timer = Core::Timer::construct(10, [&] { - dbgln("Now hanging!"); - while (true) { - sleep(1); - } - }); - - return event_loop.exec(); -}