]> Sergey Matveev's repositories - public-inbox.git/commit
view: avoid anon sub in stream_thread
authorEric Wong <e@80x24.org>
Wed, 25 Dec 2019 07:50:53 +0000 (07:50 +0000)
committerEric Wong <e@80x24.org>
Fri, 27 Dec 2019 20:00:37 +0000 (20:00 +0000)
commitdd5b6a982381327caabaa8942f6f82aa503a044e
treeeb6605967184a49b669fe051df7b270ddbdf089c
parent4bffd23fdd592c356c9b3d56b202d178a12fec43
view: avoid anon sub in stream_thread

WwwStream already passes the WWW $ctx to the callback sub, so we
don't need to create a new sub every call to capture local variables
for the callback.
lib/PublicInbox/View.pm