Closed pelikhan closed 3 years ago
yeah, I still don't understand why it shows up as a physical device.
The why is here: https://github.com/microsoft/jacdac-docs/blob/main/src/components/dashboard/Dashboard.tsx#L85 . If there is a service provider on the bus for the given device id, it is treated as a simulator.
thanks
But there is another path in which this leak is happening, since Dashboard.tsx is not active when the serviceProvider the VM spins up is added. Somehow, it's leaking via another path. Ideas?
Hack stack, needle, go!
(Add logging to the locations you start a service producer to trap the leak)
yep....
fixed
A simulator is started for servers and I cannot stop it:
The simulator shows up under devices instead of simulator, so there is no close icon on it.