mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 05:41:05 -07:00
Fix Authorization server not properly stopping after flow completes.
CURA-7490
This commit is contained in:
parent
c6af6565a3
commit
f66e723866
2 changed files with 3 additions and 1 deletions
|
|
@ -81,6 +81,7 @@ 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue