Browse Source

fix: 关闭dump

Tony 1 tháng trước cách đây
mục cha
commit
65c5bd2bbe
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      windows/runner/main.cpp

+ 1 - 1
windows/runner/main.cpp

@@ -60,7 +60,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
   }
 
   // 捕捉异常
-  SetUnhandledExceptionFilter((LPTOP_LEVEL_EXCEPTION_FILTER)ApplicationCrashHandler);
+  //SetUnhandledExceptionFilter((LPTOP_LEVEL_EXCEPTION_FILTER)ApplicationCrashHandler);
 
   // Attach to console when present (e.g., 'flutter run') or create a
   // new console when running with a debugger.