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

+12
View File
@@ -0,0 +1,12 @@
#ifndef RUNNER_CRASH_HANDLER_H_
#define RUNNER_CRASH_HANDLER_H_
#include <windows.h>
// Installs best-effort native diagnostics before Flutter or plugins start.
void InstallCrashHandler();
// Records the exception and continues normal Windows exception processing.
LONG RecordNativeCrash(EXCEPTION_POINTERS* exception);
#endif // RUNNER_CRASH_HANDLER_H_