Skip to content

Commit

Permalink
Ensure lock is created before NativeCall role is setup (#5334)
Browse files Browse the repository at this point in the history
Fixes #5333
  • Loading branch information
ugexe committed Aug 5, 2023
1 parent 1d100f8 commit a4a2bbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/NativeCall.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ sub guess-name-mangler(Routine $r, $name, Str $libname) {
}
}

my Lock $setup-lock .= new;
INIT my Lock $setup-lock .= new;

sub resolve-libname($libname) {
CATCH { default { note $_ } }
Expand Down

0 comments on commit a4a2bbd

Please sign in to comment.