From e352b6c33142c531e12dfe87cc25e5f1510731de Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 14 Sep 2012 00:47:31 +0300 Subject: [PATCH] Avoid invoking callbacks of a deleted object --- source/io/zlibcompressed.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/io/zlibcompressed.h b/source/io/zlibcompressed.h index feb21c6..fa7a153 100644 --- a/source/io/zlibcompressed.h +++ b/source/io/zlibcompressed.h @@ -3,6 +3,7 @@ #include #include +#include #include "base.h" namespace Msp { @@ -27,7 +28,7 @@ operates on top of another I/O object. To ensure proper termination of the compressed data stream, the ZlibCompressed object must be destroyed before the underlying object is closed. */ -class ZlibCompressed: public Base +class ZlibCompressed: public Base, public sigc::trackable { private: struct Private; -- 2.43.0