canndrew / netsim

Network simulation in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Too easy to leak devices

canndrew opened this issue · comments

After the user creates a bunch of devices and spawns them to the event loop there is no longer any way to destroy them and, in some circumstances, they will not destroy themselves automatically. Devices should probably be scoped.

Devices are now scoped to a Network.