Cleaner fix to the "object is not attached" issue with modules loaded from cache
which weren't used by VLC. This now adds a new b_used flag to module_cache_t which is set to VLC_TRUE once we know that the cached version of the plugin is usable (and thus gets attached to something). If it's not usable, it wont be attached so we tell ModuleDelete() not to try dettaching it.
Showing with 14 additions and 10 deletions