]> Sergey Matveev's repositories - public-inbox.git/commitdiff
ds: remove pointless exit calls
authorEric Wong <e@80x24.org>
Mon, 24 Jun 2019 02:52:31 +0000 (02:52 +0000)
committerEric Wong <e@80x24.org>
Mon, 24 Jun 2019 05:26:26 +0000 (05:26 +0000)
They're never called; the only way to break out of that loop
is the PostEventLoop callback.

lib/PublicInbox/DS.pm

index 7b87cd567ab05229f93cf2e1dfa6d3e25310870e..9811405bae3600bdd5e1af843f27fc0b3f0a325b 100644 (file)
@@ -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 ) >>