Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix hangs in Supply.unique
Need to itemize the Array argument to push. Otherwise it will be slurped
in.
  • Loading branch information
niner committed Aug 16, 2015
1 parent 8a7b83f commit 6fa6bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Supply.pm
Expand Up @@ -229,7 +229,7 @@ my role Supply {
}
}
else {
@seen.push: [$target, $now+$expires];
@seen.push: $[$target, $now+$expires];
$res.emit(val);
}
}
Expand All @@ -244,7 +244,7 @@ my role Supply {
}
}
else {
@seen.push: [val, $now+$expires];
@seen.push: $[val, $now+$expires];
$res.emit(val);
}
};
Expand Down

0 comments on commit 6fa6bef

Please sign in to comment.