diff --git a/src/StructuredLogger/BinaryLog.cs b/src/StructuredLogger/BinaryLog.cs index 515662e0..35a95a90 100644 --- a/src/StructuredLogger/BinaryLog.cs +++ b/src/StructuredLogger/BinaryLog.cs @@ -29,6 +29,8 @@ public static Build ReadBuild(string filePath) eventSource.Replay(filePath); var elapsed = sw.Elapsed; + structuredLogger.Shutdown(); + var build = StructuredLogger.CurrentBuild; StructuredLogger.CurrentBuild = null;