104105106107108109110111112113114115116
} while (doTask) { try{ // Wait for a Task to be added to the pipeline. Task t = pipeline.getTask(); if (t != null){ t.run(); t = null; } } catch (Throwable t) { // Make sure we aren't leaving any bytes after an exception. if (byteBuffer != null){