Subprocess: respect listeners on final yield
This commit is contained in:
parent
89beb695f2
commit
47de3225dd
|
@ -191,7 +191,7 @@ module Vagrant
|
||||||
@logger.debug("#{io_name}: #{extra_data.chomp}")
|
@logger.debug("#{io_name}: #{extra_data.chomp}")
|
||||||
|
|
||||||
# Yield to any listeners any remaining data
|
# Yield to any listeners any remaining data
|
||||||
yield io_name, extra_data if block_given?
|
yield io_name, extra_data if block_given? && notify_table[io_name]
|
||||||
end
|
end
|
||||||
|
|
||||||
if RUBY_PLATFORM == "java"
|
if RUBY_PLATFORM == "java"
|
||||||
|
|
Loading…
Reference in New Issue