Bug 977955 - Cleanup PluginModule shutdown r=bsmedberg