Skip to content

Commit

Permalink
Supply.untap should be Supply.close
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Nov 8, 2013
1 parent 186b451 commit 6f360f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vm/jvm/core/Supply.pm
Expand Up @@ -10,8 +10,8 @@ my role Supply {
has &.last;
has &.fail;
has $.supply;
method untap() {
$!supply.untap(self)
method close() {
$!supply.close(self)
}
}

Expand All @@ -26,7 +26,7 @@ my role Supply {
$sub
}

method untap(Tap $t) {
method close(Tap $t) {
$!tappers_lock.protect({
@!tappers .= grep(* !=== $t);
});
Expand Down

0 comments on commit 6f360f5

Please sign in to comment.