From d41af72a9673728cfe9390e31cb4e67da31fc355 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 22 Aug 2022 18:46:37 +0200 Subject: State + Exports: Make cleanup optional when entering disconnect --- wrappers/python/src/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wrappers/python/src/main.py') diff --git a/wrappers/python/src/main.py b/wrappers/python/src/main.py index 574d0e2..e70d431 100644 --- a/wrappers/python/src/main.py +++ b/wrappers/python/src/main.py @@ -157,8 +157,8 @@ class EduVPN(object): if connecting_err: raise Exception(connecting_err) - def set_disconnected(self) -> None: - disconnect_err = self.go_function(lib.SetDisconnected) + def set_disconnected(self, cleanup=True) -> None: + disconnect_err = self.go_function(lib.SetDisconnected, cleanup) if disconnect_err: raise Exception(disconnect_err) -- cgit v1.2.3