118119120121122123124125126127128
if (listener != null) { queue.addTaskFinishedListener(listener); } buffer.load(); queue.enqueue(taskTree); queue.flush(); buffer.unload(); taskTree.getSource().flush(); taskTree.getDestination().flush();