Skip to content

Commit 8b759bf

Browse files
committed
fix 6
1 parent b5ba379 commit 8b759bf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Mapster/TypeAdapterConfig/TypeAdapterConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public LambdaExpression CreateMapExpression(TypeTuple tuple, MapType mapType)
8989
if (ConcurencyEnviroment)
9090
{
9191
Configure.WaitOne(-1);
92-
AdaptMutex.WaitOne(-1, false);
92+
/// AdaptMutex.WaitOne(-1, false);
9393
}
9494

9595
var context = new CompileContext(this);

src/Mapster/TypeAdapterConfig/TypeAdapterConfigTSetterExtentions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static TypeAdapterSetter NewConfig(this ITypeAdapterConfig config, Type s
1717
{
1818
if (config.ConcurencyEnviroment)
1919
{
20-
config.AdaptMutex.WaitOne(-1);
20+
// config.AdaptMutex.WaitOne(-1);
2121
config.Configure.WaitOne(-1, false);
2222
}
2323

@@ -35,7 +35,7 @@ public static TypeAdapterSetter<TSource, TDestination> NewConfig<TSource, TDesti
3535
{
3636
if (config.ConcurencyEnviroment)
3737
{
38-
config.AdaptMutex.WaitOne(-1);
38+
// config.AdaptMutex.WaitOne(-1);
3939
config.Configure.WaitOne(-1, false);
4040
}
4141

0 commit comments

Comments
 (0)