Browse Source

Fix local authorization server crashing

The thread handling the web_server was crashing. This in turn ended in
the web_server not being able to start again, thus being impossible to
login again if you logged out.
Kostas Karmas 4 years ago
parent
commit
6d7d7bdb95
1 changed files with 0 additions and 1 deletions
  1. 0 1
      cura/OAuth2/LocalAuthorizationServer.py

+ 0 - 1
cura/OAuth2/LocalAuthorizationServer.py

@@ -82,7 +82,6 @@ class LocalAuthorizationServer:
         if self._web_server:
             try:
                 self._web_server.shutdown()
-                self._web_server.server_close()
             except OSError:
                 # OS error can happen if the socket was already closed. We really don't care about that case.
                 pass