mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
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.
This commit is contained in:
parent
64064fe8d5
commit
6d7d7bdb95
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue