961962963964965966967968969970971
try { canceled = false; grabbers.clear(); grabberThreads.clear(); for (int i=0; i<threadCount; i++) { Grabber grabber = getGrabber(i == 0 && threadCount > 1); grabbers.add(grabber); Thread t = new Thread(grabber, "WMS " + getName() + " " + i); t.setDaemon(true); t.start(); grabberThreads.add(t);