groovy

DGM.println(Object) and friends do a Writer.close() if the object is a writer. Should be flush() instead.