Skip to content

Commit

Permalink
fixup! Change PROCESSOR_CALLBACKS to return Processor
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsamaroo committed Apr 2, 2020
1 parent a3025fd commit 5add7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/processor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function get_osproc(pid::Int)
for cb in PROCESSOR_CALLBACKS
try
child = cb(proc)
push!(proc.children, child)
child !== nothing && push!(proc.children, child)
catch err
@error "Error in processor callback" exception=(err,catch_backtrace())
end
Expand Down

0 comments on commit 5add7f8

Please sign in to comment.