diff --git a/Libraries/LibCore/Timer.h b/Libraries/LibCore/Timer.h index 33855873a1f..04f41e39a01 100644 --- a/Libraries/LibCore/Timer.h +++ b/Libraries/LibCore/Timer.h @@ -39,6 +39,7 @@ public: { auto timer = adopt(*new Timer(interval, move(timeout_handler), parent)); timer->set_single_shot(true); + timer->stop(); return timer; }