From 88fbf7e81a6ab317262bd97875a0296f59287586 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 26 Mar 2020 15:10:12 +0900 Subject: 1) Additional work on tq app -> tde app translation. 2) Make sure to exit app after restore if no app window can be grabbed 3) Save state only for known applications (app with empty name will not be saved and restored) Signed-off-by: Michele Calgaro --- src/trace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/trace.cpp') diff --git a/src/trace.cpp b/src/trace.cpp index 9f2d06d..5756a56 100644 --- a/src/trace.cpp +++ b/src/trace.cpp @@ -1,5 +1,4 @@ #ifdef ENABLE_TRACING -#include #include #include #include @@ -38,6 +37,7 @@ void DUMP_TRACE(const char *f) { TQTextStream stream(&file); stream << tracer->text(); + file.close(); } } -- cgit v1.2.1