Browse Source

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.
Ben Wiederhake 3 năm trước cách đây
mục cha
commit
17d95bc1db

+ 0 - 1
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)

+ 0 - 23
Userland/Utilities/misbehaving-application.cpp

@@ -1,23 +0,0 @@
-/*
- * Copyright (c) 2020, the SerenityOS developers.
- *
- * SPDX-License-Identifier: BSD-2-Clause
- */
-
-#include <LibCore/EventLoop.h>
-#include <LibCore/Timer.h>
-#include <unistd.h>
-
-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();
-}