Singleton, Singleton, did not take into account the release of memory
Solution:
1. Add a member function destroyInstance () to release the memory, need to call DESTROYINSTANCE () throughout the project.
2, ME said with intelligent pointers