issue #3713:invoke static member function to destroy singleone object
issue #3713: remove unneeded codes to fix compiling error