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

@ -454,6 +454,7 @@ class Loader
$commands[] = $cmd;
}
}
closedir($base);
sort($commands);
return $commands;
}