X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=trace_writer.cpp;h=7511d3192420db31f65ee2e74dd5203db3ec201a;hb=ce04047159832b49f55618d76478ef264cbee462;hp=a615960474d48b522d8d5606c1290451bd7868d5;hpb=5ce45e7f614c7540f4d3d4f86db7a499f138d01e;p=apitrace diff --git a/trace_writer.cpp b/trace_writer.cpp index a615960..7511d31 100644 --- a/trace_writer.cpp +++ b/trace_writer.cpp @@ -42,7 +42,7 @@ namespace Trace { Writer::Writer() : call_no(0) { - m_file = new Trace::ZLibFile; + m_file = new Trace::SnappyFile; close(); } @@ -199,7 +199,6 @@ unsigned Writer::beginEnter(const FunctionSig *sig) { void Writer::endEnter(void) { _writeByte(Trace::CALL_END); - m_file->flush(); OS::ReleaseMutex(); }