mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-07-13 17:30:33 +00:00
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 New Issue
Block a user