Skip to content

Commit

Permalink
0.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Aug 21, 2024
1 parent a861adb commit f6b1dd8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/releases/
/HN/
?
1.raku
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ Revision history for ParaSeq

{{$NEXT}}

0.2.7 2024-08-21T15:20:25+02:00
- Make sure the block that is being cued is cloned: this is what
appears to be done by start { }, so it's probably good practice

0.2.6 2024-08-19T21:28:27+02:00
- Make sure we don't crash on trying to resume an unresumable
exception. This hopefully will help finding some race conditions
Expand Down
2 changes: 1 addition & 1 deletion META6.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
],
"test-depends": [
],
"version": "0.2.6"
"version": "0.2.7"
}
4 changes: 2 additions & 2 deletions lib/ParaSeq.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -791,11 +791,11 @@ class ParaSeq is Seq {

# Perform the actual cueing
$!catch
?? $!SCHEDULER.cue: &code, :catch({
?? $!SCHEDULER.cue: &code.clone, :catch({
nqp::push($exceptions,$_);
try .resume;
})
!! $!SCHEDULER.cue: &code
!! $!SCHEDULER.cue: &code.clone
}

# Set up object and return it
Expand Down

0 comments on commit f6b1dd8

Please sign in to comment.