serialserver/packetloopbackcsy/src/loopback.cpp
changeset 4 928ed51ddc43
parent 0 dfb7c4ff071f
child 21 07656293a99c
--- a/serialserver/packetloopbackcsy/src/loopback.cpp	Fri Jan 22 10:58:59 2010 +0200
+++ b/serialserver/packetloopbackcsy/src/loopback.cpp	Tue Jan 26 13:09:14 2010 +0200
@@ -1012,6 +1012,9 @@
  * This method is the destructor for the factory object.
  */
 	{
+    ASSERT(iPorts.Count()==0);
+    iPorts.Close();
+    
 	delete iLoopbackConfig;
 	iLoopbackConfig = NULL;
 	LOGDESTROY();