def run_forever(self):
self.__is_running = True<EOL>self._before_run_forever()<EOL>try:<EOL><INDENT>self._logger.debug('<STR_LIT>')<EOL>rslt = self.__app.exec_()<EOL>self._logger.debug('<STR_LIT>'.format(rslt))<EOL>return rslt<EOL><DEDENT>finally:<EOL><INDENT>self._after_run_forever()<EOL>self.__is_running = False<EOL><DEDENT>
Run eventloop forever.