in src/nova_act/nova_act.py [0:0]
def _stop(self) -> None:
try:
if self._dispatcher is not None:
self._dispatcher.cancel_prompt()
if self._playwright.started:
self._playwright.stop()
self._dispatcher = None
_TRACE_LOGGER.info("\nend session\n")
set_logging_session(None)
except Exception as e:
raise StopFailed from e