Jordi Boggiano hace 12 años
padre
commit
f0327caaa1
Se han modificado 1 ficheros con 2 adiciones y 4 borrados
  1. 2 4
      src/Composer/Command/CreateProjectCommand.php

+ 2 - 4
src/Composer/Command/CreateProjectCommand.php

@@ -214,7 +214,8 @@ EOT
         return 0;
     }
 
-    protected function installRootPackage(IOInterface $io, $config, $packageName, $directory = null, $packageVersion = null, $stability = 'stable', $preferSource = false, $preferDist = false, $installDevPackages = false, $repositoryUrl = null, $disableCustomInstallers = false, $noScripts = false, $keepVcs = false, $noProgress = false) {
+    protected function installRootPackage(IOInterface $io, $config, $packageName, $directory = null, $packageVersion = null, $stability = 'stable', $preferSource = false, $preferDist = false, $installDevPackages = false, $repositoryUrl = null, $disableCustomInstallers = false, $noScripts = false, $keepVcs = false, $noProgress = false)
+    {
         $stability = strtolower($stability);
         if ($stability === 'rc') {
             $stability = 'RC';
@@ -298,9 +299,6 @@ EOT
 
         putenv('COMPOSER_ROOT_VERSION='.$package->getPrettyVersion());
 
-        // clean up memory
-        unset($dm, $im, $config, $projectInstaller, $sourceRepo, $package);
-
         return $installedFromVcs;
     }