You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SuppressMessage("Reliability","CA2000:Dispose objects before losing scope",Justification="We return the session, the browser needs to dispose the session")]
Copy file name to clipboardExpand all lines: lib/PuppeteerSharp/Launcher.cs
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
usingSystem;
2
+
usingSystem.Diagnostics.CodeAnalysis;
2
3
usingSystem.Globalization;
3
4
usingSystem.IO;
4
5
usingSystem.Net.Http;
@@ -43,6 +44,7 @@ public class Launcher
43
44
/// for a description of the differences between Chromium and Chrome.
44
45
/// <a href="https://chromium.googlesource.com/chromium/src/+/lkcr/docs/chromium_browser_vs_google_chrome.md">This article</a> describes some differences for Linux users.
45
46
/// </remarks>
47
+
[SuppressMessage("Microsoft.Reliability","CA2000:Dispose objects before losing scope",Justification="The caller is responsible for disposing the returned object.")]
0 commit comments