Diff of /bin/WineRunTask.pl [a88142] .. [2ef78a] Maximize Restore

  Switch to side-by-side view

--- a/bin/WineRunTask.pl
+++ b/bin/WineRunTask.pl
@@ -34,7 +34,7 @@
     $Task->Save();
     $Job->UpdateStatus();
 
-    if ($Task->VM->Type eq "extra")
+    if ($Task->VM->Type eq "extra" || $Task->VM->$Type eq "retired")
     {
       $Task->VM->PowerOff();
     }
@@ -330,7 +330,7 @@
 }
 $Task->Save();
 $Job->UpdateStatus();
-if ($Task->VM->Type eq "extra")
+if ($Task->VM->Type eq "extra" || $Task->VM->Type eq "retired")
 {
   $Task->VM->PowerOff();
 }