Subj : Re: Queues vs. Sockets To : Digital Man From : X V Lxxix Date : Thu Jun 19 2008 12:46 pm > Try declaring 'q' as a local variable: var q=new Queue("test" + bbs.node_num); > And/Or specifically deleting the Queue instance at the end of the script: delete q; > Both (either one) of these fixes forces the Queue destructor to be called > at the end of the script which is responsible for detaching the node thread > from the Queue and removing the Queue from the named-queue list. that worked. I think part of the problem was that to make the queue communications work for more than 2 people, I had to create more than one queue, and consequently each participating user had to create a local instance of each named queue. It made things a lot harder to clean up. Since you have a local instance of every user's queue, you can't rely on the queue's existence to determine if the user is still present. so I had to make an exiting user broadcast on a named "quit" channel so that listening connections would know the person has left, and both would have to delete their instance of the queue. Somewhere in that nonsense things did not work. .