From b7f0b44aa5665921f075162c0fe74900cf934d4e Mon Sep 17 00:00:00 2001 From: nick-diel <35879080+nick-diel@users.noreply.github.com> Date: Tue, 26 Dec 2023 09:36:28 -0700 Subject: [PATCH] Added stream flush to destructor (#753) --- src/internal/methods/PixieStreamMethod.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/internal/methods/PixieStreamMethod.h b/src/internal/methods/PixieStreamMethod.h index b9e608d..22cc3b8 100644 --- a/src/internal/methods/PixieStreamMethod.h +++ b/src/internal/methods/PixieStreamMethod.h @@ -51,6 +51,7 @@ public: ~PixieStreamMethod() { + _stream->flush(); free(_data); }