If I delete module dir without unistall will recursive file_scan_directory and make site too slow (up to 10 times).
file_scan_directory calls about 5000 times per page request
And if I return dir and uninstall it correctly everthing becomes good.
For example, Drupal 6 removes module infromation automatically if it can't find the module
Comments
Comment #1
damien tournoud commentedSee #1081266: Avoid re-scanning module directory when a filename or a module is missing.