We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aac1b63 commit 5eac1c9Copy full SHA for 5eac1c9
1 file changed
specs/SetMemoryUsageLevel.md
@@ -11,7 +11,7 @@ but still wants to have script running or monitoring requests from network.
11
```c#
12
async protected void OnBecomingInactive()
13
{
14
- // CanSuspendWebPage() checks whether the current web contents in WebView can be suspended.
+ // CanSuspendWebPage() uses app specific logic to check whether the current web contents in the WebView2 can be suspended.
15
if (CanSuspendWebView()) {
16
await webView.CoreWebView2.TrySuspendAsync();
17
} else {
0 commit comments