There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Custom Autofac modules ignore the OrchardFeature attribute.
Currently, all Autofac modules that are there in a module will run regardless of whether the feature they belong to is enabled or not.
By looking at the code it seems like it should work like with any other dependency - need to double check if it's reproable on vanilla instance.