Skip to content

Commit a64bf4c

Browse files
committed
Update FileLockKiller.cs
1 parent b3ffbb9 commit a64bf4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/DiffEngineTray/FileLockKiller.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ public static bool KillLockingProcesses(string filePath)
109109
}
110110
finally
111111
{
112-
RmEndSession(sessionHandle);
112+
// Nothing useful to do if ending the session fails
113+
_ = RmEndSession(sessionHandle);
113114
}
114115

115116
return killed;

0 commit comments

Comments
 (0)