Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
more consistant identifier names around Java objects' finalization
[simgrid.git] / examples / java / cloud / migration / Test.java
index 7edd538..f361ddc 100644 (file)
@@ -144,8 +144,6 @@ public class Test extends Process{
         Msg.info("     - End of Migration from host 1 to host 0 (duration:"+(endTime-startTime)+")");
 
         Main.setEndOfTest();
-        Msg.info("Destroy VMs");
-        for (VM vm: vms)
-          vm.destroy();
+        // no need to destroy the VMs: the garbage collector will get them all
     }
 }