Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5412ff9

Browse files
author
Dominik Liebler
committed
Merge pull requestDesignPatternsPHP#96 from Shahelm/fix-bug-in-pool
Fixed a bug in the implementation of a design pattern: Pool.
2 parentsd24be57 +2e7f244 commit5412ff9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Creational/Pool/Processor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function process($image)
2020
if ($this->processing++ <$this->maxProcesses) {
2121
$this->createWorker($image);
2222
}else {
23-
$this->pushToWaitingQueue($worker);
23+
$this->pushToWaitingQueue($image);
2424
}
2525
}
2626

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp