Loader: close clicommands directory after use

fixes #3688
This commit is contained in:
Thomas Gelf 2019-02-20 05:36:08 +01:00
parent 9571d1059f
commit 7868216d04
1 changed files with 3 additions and 2 deletions

View File

@ -453,8 +453,9 @@ class Loader
$cmd = strtolower($m[1]);
$commands[] = $cmd;
}
}
sort($commands);
}
closedir($base);
sort($commands);
return $commands;
}