Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 0336119

Browse files
committed
TODO
1 parent e34e660 commit 0336119

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shell/platform/windows/flutter_windows_view_unittests.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,9 @@ TEST(FlutterWindowsViewTest, Shutdown) {
254254
view_modifier.SetSurface(std::move(surface));
255255

256256
// The engine must be stopped before the surface can be destroyed.
257-
InSequence s;
258-
EXPECT_CALL(*engine.get(), Stop).Times(1);
257+
EXPECT_CALL(*engine.get(), RemoveView(0)).Times(1);
259258
EXPECT_CALL(*surface_ptr, Destroy).Times(1);
259+
EXPECT_CALL(*engine.get(), Stop).Times(1);
260260
}
261261
}
262262

0 commit comments

Comments
 (0)