Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Multiworld Watcher Multiworld Watcher
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Q4SG
  • Multiworld WatcherMultiworld Watcher
  • Issues
  • #45
Closed
Open
Issue created Apr 10, 2022 by Adam "MrBond" Ziegler@MrBondOwner

Handle exits gracefully

Handle exiting the bot more gracefully:

  • Catch SIGINT, SIGTERM, and SIGKILL (if possible) - see #76 (closed)
  • Have top-level try-catch, or targeted try-catch around inputs, processors, and outputs
  • Flush any pending data saves - add proper disposes to all adapters, processors, managers, etc:
    • World data persist: IWorldManager - see #76 (closed)
    • Any state saves for input adapters: particularly, FileInputAdapter, for file position - see #77
Edited Aug 10, 2022 by Adam "MrBond" Ziegler
Assignee
Assign to
Time tracking