Only add items to the queue when the queue is empty

This commit is contained in:
Deon George 2024-04-12 21:22:27 +10:00
parent 1923eb429f
commit 03ca4c10b1

View File

@ -1333,6 +1333,7 @@ final class Binkp extends BaseProtocol
&& (! $this->sessionGet(self::SE_NOFILES)) && (! $this->sessionGet(self::SE_NOFILES))
&& (! $this->send->fd)) && (! $this->send->fd))
{ {
if (! $this->send->togo_count)
$this->getFiles($this->node); $this->getFiles($this->node);
// Open our next file to send // Open our next file to send