[PluginManager] fixed memory leak on exit.
Merge branch 'master' of https://github.com/ennetws/starlab.core