From 96c7b7133d0dfc70563bc7f78740ea10065d1b15 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Thu, 30 Jul 2015 19:19:37 +0300 Subject: [PATCH] no more partial boots, always full reboot otherwise tests are not indepant --- lib/virtual/machine.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/virtual/machine.rb b/lib/virtual/machine.rb index 02d53fb2..41b60b02 100644 --- a/lib/virtual/machine.rb +++ b/lib/virtual/machine.rb @@ -118,10 +118,12 @@ module Virtual end def boot - if @booted - self.space.get_main.clear_source - return self - end +# if @booted +# boot_functions! +# @init = Block.new("init", :__init__ ) +# @init.add_code Virtual::VirtualMain.new( self.space.get_init ) +# return self +# end boot_parfait! @init = Block.new("init", :__init__ ) @init.add_code Virtual::VirtualMain.new( self.space.get_init )