Browse files

Closing directory handler after use

  • Loading branch information...
1 parent e6ce6bb commit 37fd8a8656f0a5c90044a2cc26ce6b0eeac00fc4 @jrbasso jrbasso committed Aug 31, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Zumba/Symbiosis/Plugin/PluginManager.php
View
1 Zumba/Symbiosis/Plugin/PluginManager.php
@@ -88,6 +88,7 @@ protected static function buildPluginCache($path, $namespace) {
}
}
}
+ closedir($handle);
// Order the plugin objects by priority
usort($classObjects, 'static::comparePriority');
}

0 comments on commit 37fd8a8

Please sign in to comment.