From 6aa282c71de0083dc8fb71ae90da5d0fbaa38213 Mon Sep 17 00:00:00 2001 From: Mikhail Moussikhine Date: Thu, 21 Sep 2017 11:33:16 -0400 Subject: [PATCH] Disable inline optimization pending #3092 (#3115) --- src/core/Akka/IO/Tcp.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/Akka/IO/Tcp.cs b/src/core/Akka/IO/Tcp.cs index 17acabc7f17..cf5ebc523e4 100644 --- a/src/core/Akka/IO/Tcp.cs +++ b/src/core/Akka/IO/Tcp.cs @@ -1106,7 +1106,8 @@ private static void OnComplete(object sender, SocketAsyncEventArgs e) actorRef?.Tell(ResolveMessage(e)); } - [MethodImpl(MethodImplOptions.AggressiveInlining)] + // Disabled pending resolution: https://github.com/akkadotnet/akka.net/issues/3092 + // [MethodImpl(MethodImplOptions.AggressiveInlining)] private static Tcp.SocketCompleted ResolveMessage(SocketAsyncEventArgs e) { switch (e.LastOperation) @@ -1315,4 +1316,4 @@ public static IActorRef Tcp(this ActorSystem system) return IO.Tcp.Manager(system); } } -} \ No newline at end of file +}