We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
using
SingleInstance.cs
1 parent 950b4c9 commit f7bf681Copy full SHA for f7bf681
Flow.Launcher/Helper/SingleInstance.cs
@@ -293,10 +293,8 @@ private static IList<string> GetCommandLineArgs( string uniqueApplicationName )
293
{
294
try
295
296
- using (TextReader reader = new StreamReader(cmdLinePath, Encoding.Unicode))
297
- {
298
- args = NativeMethods.CommandLineToArgvW(reader.ReadToEnd());
299
- }
+ using TextReader reader = new StreamReader(cmdLinePath, Encoding.Unicode);
+ args = NativeMethods.CommandLineToArgvW(reader.ReadToEnd());
300
301
File.Delete(cmdLinePath);
302
}
0 commit comments