From d3ef56467a3ddf758bd0f86723ebdf077768d33b Mon Sep 17 00:00:00 2001 From: Sergiotarxz Date: Fri, 24 May 2024 08:48:17 +0200 Subject: [PATCH] Missing in_process = 0; --- lib/TgMagicPdf/Telegram.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/TgMagicPdf/Telegram.pm b/lib/TgMagicPdf/Telegram.pm index 75e419d..436214f 100644 --- a/lib/TgMagicPdf/Telegram.pm +++ b/lib/TgMagicPdf/Telegram.pm @@ -48,6 +48,7 @@ sub _dispatch_updates ($self) { } $in_process = 1; if ( $self->_used_cores >= $self->_cores ) { + $in_process = 0; return; } for ( my $i = $self->_used_cores ; $i <= $self->_cores ; $i++ ) {