Skip to content

Commit 99e1f6a

Browse files
committed
🔥 this thread affinity
1 parent eaf317f commit 99e1f6a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

LibGit2Sharp/Core/Proxy.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -834,11 +834,8 @@ public static void git_filter_unregister(string name)
834834

835835
public static FilterMode git_filter_source_mode(IntPtr filterSource)
836836
{
837-
using (ThreadAffinity())
838-
{
839-
var res = NativeMethods.git_filter_source_mode(filterSource);
840-
return (FilterMode)res;
841-
}
837+
var res = NativeMethods.git_filter_source_mode(filterSource);
838+
return (FilterMode)res;
842839
}
843840

844841
public static void git_filter_free(IntPtr gitFilter)

0 commit comments

Comments
 (0)