Skip to content

Commit

Permalink
Do not set owner in Job
Browse files Browse the repository at this point in the history
  • Loading branch information
guillep committed May 6, 2024
1 parent 414bb91 commit 8a4851c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/MuTalk-Model/MTProgressBarLogger.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ MTProgressBarLogger >> initializeMethodJob: size [
MTProgressBarLogger >> initializeMutantJob: size [

mutantJob := Job new
owner: thisContext;
min: 0;
max: size;
prepareForRunning;
yourself.

SystemVersion current major <= 10 ifTrue: [
"Jobs need a block below P10 to have an owner?"
mutantJob block: [ ] ]
Expand All @@ -58,7 +58,6 @@ MTProgressBarLogger >> initializeMutantJob: size [
MTProgressBarLogger >> initializeTestJob: size [

testJob := Job new
owner: thisContext;
min: 0;
max: size;
prepareForRunning;
Expand Down

0 comments on commit 8a4851c

Please sign in to comment.