Repository navigation
Commit 4750440
committed
chore: remove dead unused Process allocation in GetProcessCommandLine
GetProcessCommandLine allocated `var result = new System.Diagnostics.Process()`
that is never used — the method does its work through a separate
`using var p = Process.Start(psi)`. Because `result` is never Start()ed it holds
no OS handle, so this is dead code (an unused allocation), not a runtime leak.
Remove it.
Refs #1003.1 parent e0afbc4 commit 4750440
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3615 | 3615 | | |
3616 | 3616 | | |
3617 | 3617 | | |
3618 | | - | |
3619 | 3618 | | |
3620 | 3619 | | |
3621 | 3620 | | |
| |||
0 commit comments