def run(self): status = native_bt.graph_run(self._ptr) if status == native_bt.GRAPH_STATUS_END: return self._handle_status(status, 'graph object stopped running because of an unexpected error')
def run(self): status = native_bt.graph_run(self._ptr) try: utils._handle_func_status(status, 'graph object stopped running') except bt2.Stop: # done return except Exception: raise
def run(self): status = native_bt.graph_run(self._ptr) utils._handle_func_status(status, 'graph object stopped running')