[10] in Coldmud discussion meeting

root meeting help first previous next last

Connection objects sticking around

daemon@ATHENA.MIT.EDU (Mon Nov 15 16:36:32 1993 )

From: ghudson@MIT.EDU
Date: Mon, 15 Nov 93 16:30:29 EST
To: coldstuff@MIT.EDU


I've heard complaints that connection objects are sticking around in
database.  There are several reasons why this might occur, but I can't
reproduce the situation in Cold World in any of the three cases where
connection objects get destroyed.

Since the Cold World database keeps one connection object around at
all times in order to deal with the next incoming connection, it seems
likely that the leak occurs when you shut down and start back up.  It
might be a good idea to do a
	
	for obj in ($connection.children())
	    destroy(obj);

in $sys.startup().

--GBH