Skip to content

Commit 0fcf265

Browse files
committed
Add missed reference
1 parent a60569a commit 0fcf265

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/PqUnbufferedResultSet.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ public function __construct(callable $fetch, pq\Result $result, callable $releas
2929
{
3030
$this->numCols = $result->numCols;
3131

32+
$destroyed = &$this->destroyed;
33+
3234
$this->producer = new Producer(static function (callable $emit) use (&$destroyed, $release, $result, $fetch) {
3335
try {
3436
do {

0 commit comments

Comments
 (0)