From 253bf5d959ea073ec223af117d7b5fbd1cd739a3 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 23 Jan 2021 18:08:56 +0800 Subject: [PATCH] bugfi --- kivyblocks/osc_server.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kivyblocks/osc_server.py b/kivyblocks/osc_server.py index bdca4c5..3e1326f 100644 --- a/kivyblocks/osc_server.py +++ b/kivyblocks/osc_server.py @@ -30,10 +30,8 @@ class OSCServer(EventDispatcher): "address":self.osc_server.getaddress() } - def quit(self): - self.osc_server.stop_all() - self.osc_server.terminate_server() - self.osc_server.join_server() + def stop(self): + self.osc_server.stop() def handle(self,api,o,*args): print(api, *args)