projects
/
public-inbox.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4efa374
)
ds: remove pointless exit calls
author
Eric Wong <e@80x24.org>
Mon, 24 Jun 2019 02:52:31 +0000 (
02:52
+0000)
committer
Eric 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
patch
|
blob
|
history
diff --git
a/lib/PublicInbox/DS.pm
b/lib/PublicInbox/DS.pm
index 7b87cd567ab05229f93cf2e1dfa6d3e25310870e..9811405bae3600bdd5e1af843f27fc0b3f0a325b 100644
(file)
--- 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 ) >>