Merge pull request #600 from cmorty/pull/cooja-also-remove-uninitialized-mote
Cooja: Also remove uninitialized motes
This commit is contained in:
commit
d8f76a346d
|
@ -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