Skip to content

stop() and open() hangs when flexsim windows has been closed #5

Description

@mylastresort

Problem:

When a FlexSim instance is launched via fp.launch(...), closing the FlexSim window does not raise an exception to the Python caller. Instead, it simply hangs.

This makes it impossible to detect when a user closes the FlexSim window and handle it gracefully.

Testing:

  1. Launch a FlexSim instance with GUI enabled
  2. Close the FlexSim window manually
  3. Call any controller method controller.open(...) or controller.stop(...)
  4. Verify that RuntimeError is raised with message "FlexSim instance is not running"

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions