Skip to content

Commit

Permalink
Merge pull request #3910 from canonical/fix-windows-gui-close-crash
Browse files Browse the repository at this point in the history
Fix Windows GUI crash on close
  • Loading branch information
andrei-toterman authored and ricab committed Feb 7, 2025
1 parent 2cf026f commit 2054d12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/client/gui/windows/runner/flutter_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
FlutterWindow::FlutterWindow(const flutter::DartProject& project)
: project_(project) {}

FlutterWindow::~FlutterWindow() {}
FlutterWindow::~FlutterWindow() {
this->OnDestroy();
}

bool FlutterWindow::OnCreate() {
if (!Win32Window::OnCreate()) {
Expand Down

0 comments on commit 2054d12

Please sign in to comment.