mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-17 01:06:32 +08:00
Fixes [Bug]: container hangs when running using docker run command with QBT_RUN flag
Fixes #911
This commit is contained in:
parent
1490ac134b
commit
d1638ef70c
2 changed files with 6 additions and 5 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
4.5.5-develop4
|
||||
4.5.5-develop5
|
||||
|
|
|
@ -864,10 +864,11 @@ if __name__ == "__main__":
|
|||
|
||||
# Stop the scheduler gracefully
|
||||
scheduler.stop()
|
||||
if web_process:
|
||||
web_process.terminate()
|
||||
web_process.join()
|
||||
end()
|
||||
# Cleanup and exit (common for both run and scheduled modes)
|
||||
if web_process:
|
||||
web_process.terminate()
|
||||
web_process.join()
|
||||
end()
|
||||
except KeyboardInterrupt:
|
||||
scheduler.stop()
|
||||
if web_process:
|
||||
|
|
Loading…
Add table
Reference in a new issue