From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 3BA5F1F461 for ; Mon, 24 Jun 2019 02:56:50 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 30/57] ds: remove pointless exit calls Date: Mon, 24 Jun 2019 02:52:31 +0000 Message-Id: <20190624025258.25592-31-e@80x24.org> In-Reply-To: <20190624025258.25592-1-e@80x24.org> References: <20190624025258.25592-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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 ) >> -- EW