Skip to content

Commit 52faa48

Browse files
committed
Close the output writer in JVM lambda
1 parent 9bcf6d7 commit 52faa48

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lambda/jvm/src/main/scala/feral/lambda/IOLambdaPlatform.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ private[lambda] abstract class IOLambdaPlatform[Event, Result]
5353
val json = result.asJson
5454
val writer = new OutputStreamWriter(output)
5555
Printer.noSpaces.unsafePrintToAppendable(json, writer)
56+
writer.close()
5657
}
5758
}
5859
} yield ()

0 commit comments

Comments
 (0)