mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Replace using block with a using declaration in SingleInstance.cs
This commit is contained in:
parent
950b4c91d3
commit
f7bf681ee2
1 changed files with 2 additions and 4 deletions
|
|
@ -293,10 +293,8 @@ public static class SingleInstance<TApplication>
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
using (TextReader reader = new StreamReader(cmdLinePath, Encoding.Unicode))
|
using TextReader reader = new StreamReader(cmdLinePath, Encoding.Unicode);
|
||||||
{
|
args = NativeMethods.CommandLineToArgvW(reader.ReadToEnd());
|
||||||
args = NativeMethods.CommandLineToArgvW(reader.ReadToEnd());
|
|
||||||
}
|
|
||||||
|
|
||||||
File.Delete(cmdLinePath);
|
File.Delete(cmdLinePath);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue