Skip to content

[BUG] Clean resources before allowing user to start a new instance #38

@StaticSweep

Description

@StaticSweep

Description
The user can currently start a new bot instance while the old one is shutting down.
This can cause unexpected results with clean-up, including:

  • Remote input locking down and throwing
  • Mouse overlay not erasing
  • Potential to start a new script while another is running

To Reproduce

  1. Go to the web UI
  2. Click on a script
  3. Select fixed mode
  4. Spam the start/stop button
  5. See error

Next Steps

  1. Improve state management for the ScriptInstanceManager
  2. Grey out the stop button while the script is shutting down/cleaning

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions