Explorar o código

Create a new debug trace log file each 1 GB

Source commit: 958f72fde61c6ea727a85612b252f396809e2154
Martin Prikryl %!s(int64=7) %!d(string=hai) anos
pai
achega
900de1f2a1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      source/windows/UserInterface.cpp

+ 1 - 1
source/windows/UserInterface.cpp

@@ -385,7 +385,7 @@ void __fastcall ConfigureInterface()
 void __fastcall ForceTracing()
 {
   Tracing::ForceTraceOn();
-  SetTraceFile((HANDLE)Tracing::GetTraceFile());
+  SetTraceFileCallback(GetTraceFileCallback());
 }
 #endif
 //---------------------------------------------------------------------------