From ff7971d41de219aec873d97f6fc624949bda5b82 Mon Sep 17 00:00:00 2001 From: Jan Zajic Date: Thu, 28 Nov 2019 09:36:16 +0100 Subject: [PATCH] don't exit when No runnables in scheduler on Win loop --- src/crystal/system/win32/event_loop_iocp.cr | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/crystal/system/win32/event_loop_iocp.cr b/src/crystal/system/win32/event_loop_iocp.cr index 1a80eab6c1b2..071fa56d11a4 100644 --- a/src/crystal/system/win32/event_loop_iocp.cr +++ b/src/crystal/system/win32/event_loop_iocp.cr @@ -9,9 +9,6 @@ module Crystal::EventLoop if next_fiber Crystal::Scheduler.enqueue next_fiber - else - Crystal::System.print_error "Warning: No runnables in scheduler. Exiting program.\n" - ::exit end end