Skip to content

Commit

Permalink
Fix possible NRE bug in Dispatchers (#6906)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkatufus authored Sep 7, 2023
1 parent 067bd76 commit f2025e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Akka/Dispatch/Dispatchers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f2025e3

Please sign in to comment.