Skip to content

Web backend does not handle ControlFlow::Exit nicely #1688

@alvinhochun

Description

@alvinhochun
  1. Bug: The code in runner::Shared::handle_event does not properly enforce that ControlFlow::Exit is sticky. It only checks for self.is_closed() and does not check the actual user-assigned control out parameter. (I'm fixing this in a PR, just including this here for completeness.)
  2. After the event loop has ended, the canvas is not removed from the DOM or blanked and the event handlers are not removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions