From 50fe1e704631fcab3464fe491d40e17f7cdef25f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20=27Morty=27=20Str=C3=BCbe?= Date: Thu, 20 Mar 2014 14:45:43 +0100 Subject: [PATCH] Also remove uninitialized motes --- tools/cooja/java/org/contikios/cooja/Simulation.java | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/cooja/java/org/contikios/cooja/Simulation.java b/tools/cooja/java/org/contikios/cooja/Simulation.java index 6cf7777fe..293a4c2c2 100644 --- a/tools/cooja/java/org/contikios/cooja/Simulation.java +++ b/tools/cooja/java/org/contikios/cooja/Simulation.java @@ -757,6 +757,7 @@ public class Simulation extends Observable implements Runnable { Runnable removeMote = new Runnable() { public void run() { motes.remove(mote); + motesUninit.remove(mote); currentRadioMedium.unregisterMote(mote, Simulation.this); /* Dispose mote interface resources */