Skip to content

Commit

Permalink
Minor safety check
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Sep 12, 2024
1 parent 6eefdf4 commit 4fbd78c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/miga/parallel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def process(threads)
# 3. Index of the acting thread
def distribute(enum, threads, &blk)
process(threads) { |thr| thread_enum(enum, threads, thr, &blk) }
Process.waitall # <- Just to double-check, but `process` should suffice
end

##
Expand Down
2 changes: 1 addition & 1 deletion lib/miga/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module MiGA
# - String indicating release status:
# - rc* release candidate, not released as gem
# - [0-9]+ stable release, released as gem
VERSION = [1.3, 20, 6].freeze
VERSION = [1.3, 20, 7].freeze

##
# Nickname for the current major.minor version.
Expand Down

0 comments on commit 4fbd78c

Please sign in to comment.