def stop(self):
        """
        @brief      Save some data and use shell to kill this process
        """
        run(Constant.LOG_MSG_SNAPSHOT, self.snapshot)
        echo(Constant.LOG_MSG_RUNTIME % self.get_run_time())
        # close database connect
        self.db.close()

        @brief      Save some data and use shell to kill this process
        
wxbot_project_py2.7/wechat/wechat.py