Skip to content

作为服务器部署的模式如何优雅地停止服务 #108

Description

@blackzw

注: 对于PyWebIO使用咨询或对于其他人也可能有帮助的问题,请考虑移至 Discussions 进行发帖。

BUG描述
描述BUG表现以及复现方式。
如果浏览器控制台有报错以及脚本抛出异常也请将报错信息附上

环境信息

  • 操作系统及版本:
  • 浏览器及版本:
  • Python版本: 使用 python3 --version 查看
  • $>: Python 3.7.9
  • PyWebIO版本: 使用 python3 -c "import pywebio;print(pywebio.__version__)" 查看
  • $>: 1.2.3

使用了start_server() 启动的服务,除了使用ctrl+c以外,有没有其他优雅的方式关闭服务。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions