Skip to content

Commit

Permalink
Revert "The app_lifetime of the initial thread is True"
Browse files Browse the repository at this point in the history
This reverts commit 8c5bc57.
  • Loading branch information
lizmat committed Nov 12, 2017
1 parent 928e243 commit dbce04e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/core/Thread.pm
Expand Up @@ -94,9 +94,10 @@ my class Thread {

Rakudo::Internals.REGISTER-DYNAMIC: '$*THREAD', {
my $init_thread := nqp::create(Thread);
nqp::bindattr($init_thread,Thread,'$!vm_thread',Rakudo::Internals.INITTHREAD);
nqp::bindattr($init_thread,Thread,'$!app_lifetime',True);
nqp::bindattr($init_thread,Thread,'$!name','Initial thread');
nqp::bindattr($init_thread, Thread, '$!vm_thread',
Rakudo::Internals.INITTHREAD);
nqp::bindattr($init_thread, Thread, '$!app_lifetime', False);
nqp::bindattr($init_thread, Thread, '$!name', 'Initial thread');
PROCESS::<$THREAD> := $init_thread;
}

Expand Down

0 comments on commit dbce04e

Please sign in to comment.