From a3cb58141cb7ef78fc4b3b85f6132804972c20e7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 24 Jun 2019 02:52:31 +0000 Subject: ds: remove pointless exit calls They're never called; the only way to break out of that loop is the PostEventLoop callback. --- lib/PublicInbox/DS.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/PublicInbox/DS.pm b/lib/PublicInbox/DS.pm index 7b87cd56..9811405b 100644 --- a/lib/PublicInbox/DS.pm +++ b/lib/PublicInbox/DS.pm @@ -239,7 +239,6 @@ sub EpollEventLoop { } return unless PostEventLoop(); } - exit 0; } ### The kqueue-based event loop. Gets installed as EventLoop if IO::KQueue works @@ -264,8 +263,6 @@ sub KQueueEventLoop { } return unless PostEventLoop(); } - - exit(0); } =head2 C<< CLASS->SetPostLoopCallback( CODEREF ) >> -- cgit v1.2.3-24-ge0c7