Browse Source
When unloading cogs, currently we do not remove submodules from sys.modules, meaning they will not be reloaded. Removing here makes new imports reload from file. Of course, any already imported modules will still hold a reference to the old module, since they will not re-import it, and will not be forcably unloaded.pull/627/merge
committed by
Rapptz
1 changed files with 3 additions and 0 deletions
Loading…
Reference in new issue