void kill ()
    {
        if (MacOSX.trace)
            System.err.println ("kill bus" + this);

        // notify any listeners that the bus died, and
        // clear backlinks that we control
        //if (listeners.size () > 0) {
            synchronized (devices) {
		        if (MacOSX.trace)
        		    System.err.println ("killing bus: " + this);
                for (int i = 0; i < devices.length; i++) {
                    if (devices [i] != null) {
	                    removed (devices [i]);
	                }
                }
            }
        //}
    }