providers/virtualbox: don't log in trap context
This commit is contained in:
parent
698e892eac
commit
3324756e12
|
@ -354,7 +354,10 @@ module VagrantPlugins
|
|||
def raw(*command, &block)
|
||||
int_callback = lambda do
|
||||
@interrupted = true
|
||||
@logger.info("Interrupted.")
|
||||
|
||||
# We have to execute this in a thread due to trap contexts
|
||||
# and locks.
|
||||
Thread.new { @logger.info("Interrupted.") }.join
|
||||
end
|
||||
|
||||
# Append in the options for subprocess
|
||||
|
|
Loading…
Reference in New Issue