Also remove uninitialized motes
This commit is contained in:
parent
b78eb96a54
commit
50fe1e7046
|
@ -757,6 +757,7 @@ public class Simulation extends Observable implements Runnable {
|
||||||
Runnable removeMote = new Runnable() {
|
Runnable removeMote = new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
motes.remove(mote);
|
motes.remove(mote);
|
||||||
|
motesUninit.remove(mote);
|
||||||
currentRadioMedium.unregisterMote(mote, Simulation.this);
|
currentRadioMedium.unregisterMote(mote, Simulation.this);
|
||||||
|
|
||||||
/* Dispose mote interface resources */
|
/* Dispose mote interface resources */
|
||||||
|
|
Loading…
Reference in a new issue