fix(windows): release FFmpeg memory and capture native crashes (#1668)

This commit is contained in:
Levi authored and GitHub committed 2026-11-14 11:28:39 +08:00
1 parent 6cd95507fd
commit 6f7fd056ef
17 files changed
+486 -17

No files matched your search

+2
View File
@@ -7,6 +7,7 @@ project(runner LANGUAGES CXX)
#
# Any new source files that you add to the application should be added here.
add_executable(${BINARY_NAME} WIN32
"crash_handler.cpp"
"flutter_window.cpp"
"main.cpp"
"utils.cpp"
@@ -34,6 +35,7 @@ target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX")
# dependencies here.
target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app)
target_link_libraries(${BINARY_NAME} PRIVATE "dwmapi.lib")
target_link_libraries(${BINARY_NAME} PRIVATE "dbghelp.lib")
target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}")
# Run the Flutter tool portions of the build. This must not be removed.