Skip to content

Handle creating SimDeviceSim before corresponding SimDevice #5056

Open
@PeterJohnson

Description

@PeterJohnson

Currently this returns an invalid handle. Throwing on non-existent device (added in #5041, reverted in #5053) isn't a great solution as it creates an ordering dependency, but neither is silently creating an useless object. Instead, it would be best if the handle was valid but we did something like print out a warning if the actual SimDevice doesn't exist by the time a function is called on the SimDeviceSim.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: halHardware Abstraction Layeros: simulationtype: fixIterations on existing features or infrastructure.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions