mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-11-12 01:10:50 +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
|
# Stop the scheduler gracefully
|
||||||
scheduler.stop()
|
scheduler.stop()
|
||||||
if web_process:
|
# Cleanup and exit (common for both run and scheduled modes)
|
||||||
web_process.terminate()
|
if web_process:
|
||||||
web_process.join()
|
web_process.terminate()
|
||||||
end()
|
web_process.join()
|
||||||
|
end()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
scheduler.stop()
|
scheduler.stop()
|
||||||
if web_process:
|
if web_process:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue