From: Eric Wong Date: Mon, 24 Jun 2019 02:52:31 +0000 (+0000) Subject: ds: remove pointless exit calls X-Git-Tag: v1.2.0~156^2~29 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=a3cb58141cb7ef78fc4b3b85f6132804972c20e7;hp=4efa374fc040c3a4f09160323a2fb92e18304fae;p=public-inbox.git ds: remove pointless exit calls They're never called; the only way to break out of that loop is the PostEventLoop callback. --- 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 ) >>