Browse Source

Merge pull request #255 from gsy1519/dev

fix:  improve message writer
tags/0.1.0
Changli Tang GitHub 2 years ago
parent
commit
a93b72a337
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      playback/Playback/MessageWriter.cs

+ 1
- 0
playback/Playback/MessageWriter.cs View File

@@ -50,6 +50,7 @@ namespace Playback
{ {
cos.Flush(); cos.Flush();
gzs.Write(ms.GetBuffer(), 0, (int)ms.Length); gzs.Write(ms.GetBuffer(), 0, (int)ms.Length);
gzs.Flush();
ClearMemoryStream(ms); ClearMemoryStream(ms);
fs.Flush(); fs.Flush();
} }


Loading…
Cancel
Save