diff --git a/packages/lib/src/lua/process/tee_writer.rs b/packages/lib/src/lua/process/tee_writer.rs index 5c3124f..fee7776 100644 --- a/packages/lib/src/lua/process/tee_writer.rs +++ b/packages/lib/src/lua/process/tee_writer.rs @@ -59,6 +59,6 @@ where } fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { - self.project().writer.as_mut().poll_flush(cx) + self.project().writer.as_mut().poll_shutdown(cx) } }