diff --git a/src/core/Akka/Dispatch/Dispatchers.cs b/src/core/Akka/Dispatch/Dispatchers.cs index c9115ddb830..dfd0556d796 100644 --- a/src/core/Akka/Dispatch/Dispatchers.cs +++ b/src/core/Akka/Dispatch/Dispatchers.cs @@ -372,10 +372,10 @@ public static Config GetConfig(Config config, string id, int depth = 0) public Dispatchers(ActorSystem system, IDispatcherPrerequisites prerequisites, ILoggingAdapter logger) { _system = system; + _logger = logger; Prerequisites = prerequisites; _cachingConfig = new CachingConfig(prerequisites.Settings.Config); _defaultGlobalDispatcher = Lookup(DefaultDispatcherId); - _logger = logger; InternalDispatcher = Lookup(InternalDispatcherId); }