mirror of
https://github.com/wgh136/flutter_qjs.git
synced 2025-09-27 13:27:24 +00:00
fix crash when encoding Error object
This commit is contained in:
@@ -173,7 +173,7 @@ Win32Window::MessageHandler(HWND hwnd,
|
||||
|
||||
return 0;
|
||||
}
|
||||
case WM_SIZE:
|
||||
case WM_SIZE: {
|
||||
RECT rect = GetClientArea();
|
||||
if (child_content_ != nullptr) {
|
||||
// Size and position the child window.
|
||||
@@ -181,6 +181,7 @@ Win32Window::MessageHandler(HWND hwnd,
|
||||
rect.bottom - rect.top, TRUE);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
case WM_ACTIVATE:
|
||||
if (child_content_ != nullptr) {
|
||||
|
Reference in New Issue
Block a user