X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=gps303%2Ftermconfig.py;h=831397201a4521c9c3fd160c0fdbb3bb8eb0b39a;hb=7ff26a2079e56969c65937b1bae7f6d908aa0664;hp=953e6aec75f67ae380732d7f80dcfcc4cfa845ed;hpb=14683d91ed3172b416b1c3e5e59edd6528f30a69;p=loctrkd.git diff --git a/gps303/termconfig.py b/gps303/termconfig.py index 953e6ae..8313972 100644 --- a/gps303/termconfig.py +++ b/gps303/termconfig.py @@ -74,7 +74,9 @@ def runserver(conf: ConfigParser) -> None: zpush.send(resp.packed) except KeyboardInterrupt: - pass + zsub.close() + zpush.close() + zctx.destroy() # type: ignore if __name__.endswith("__main__"):