This method cleans up the singleton instance of OMMainThread. This method overrides the method OMThread::destroyThread.
Public
virtual void destroyThread()