Skip to content

Commit 56d28ca

Browse files
authored
Fix system spawning (#1863)
* Special spawning for SystemActors
1 parent dadcffb commit 56d28ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Proto.Actor/Context/SystemContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static PID SpawnNamedSystem(this IRootContext self, Props props, string n
3636
? self.System.Guardians.GetGuardianPid(props.GuardianStrategy)
3737
: null;
3838

39-
return props.Spawn(self.System, name, parent);
39+
return props.SpawnSystem(self.System, name, parent);
4040
}
4141
catch (Exception x)
4242
{

0 commit comments

Comments
 (0)