Skip to content

Commit

Permalink
[js] Enable fetching of signal names
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Sep 27, 2017
1 parent e1fc825 commit 4bb16b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Kernel.pm
Expand Up @@ -107,7 +107,7 @@ class Kernel does Systemic {
@!signals //= [2, 9]
}
#?endif
#?if moar
#?if !jvm
has $!signals-setup-lock = Lock.new;
has $!signals-setup = False;
method signals (Kernel:D:) {
Expand Down Expand Up @@ -148,7 +148,7 @@ class Kernel does Systemic {
has $!signals-by-Str-setup = False;

proto method signal (|) { * }
#?if moar
#?if !jvm
multi method signal(Kernel:D: Str:D $signal --> Int:D) {
unless $!signals-by-Str-setup {
$!signals-setup-lock.protect: {
Expand Down

0 comments on commit 4bb16b5

Please sign in to comment.