Skip to content

Commit b215487

Browse files
Return a maximum nanoseconds value in FlutterDesktopEngineProcessMessages (flutter#26026)
1 parent 0efa3c2 commit b215487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/platform/windows/flutter_windows_win32.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ bool FlutterDesktopViewControllerHandleTopLevelWindowProc(
6767
}
6868

6969
uint64_t FlutterDesktopEngineProcessMessages(FlutterDesktopEngineRef engine) {
70-
return std::numeric_limits<uint64_t>::max();
70+
return std::chrono::nanoseconds::max().count();
7171
}
7272

7373
void FlutterDesktopPluginRegistrarRegisterTopLevelWindowProcDelegate(

0 commit comments

Comments
 (0)