diff --git a/source/dyaml/dumper.d b/source/dyaml/dumper.d index 5fe4c6b..b3e7d61 100644 --- a/source/dyaml/dumper.d +++ b/source/dyaml/dumper.d @@ -120,6 +120,8 @@ struct Dumper //Stream to write to. Stream stream_; + //True if this Dumper owns stream_ and needs to destroy it in the destructor. + bool weOwnStream_ = false; //Write scalars in canonical form? bool canonical_;