Agent Zero AI framework
Call stop() for tunnel cleanup
frdelc2005f4f7a12
diff --git a/run_tunnel.py b/run_tunnel.pyindex a15f06fcb..e7ac7908d 100644--- a/run_tunnel.py+++ b/run_tunnel.py@@ -3,7 +3,7 @@ from flask import Flask, requestfrom helpers import runtime, dotenv, processfrom helpers.print_style import PrintStyle-from api.tunnel import Tunnel+from api.tunnel import Tunnel, stop# initialize the internal Flask serverapp = Flask("app")@@ -50,7 +50,7 @@ def run():finally:# Clean up tunnel if it was startedif tunnel:- tunnel.stop()+ stop()# run the internal server