Include listener spec in incoming connection actor name
This commit is contained in:
parent
1f9e050048
commit
ab3b22576d
|
@ -245,7 +245,7 @@ spawn named 'driver/stream-line' {
|
|||
}
|
||||
|
||||
export function spawnConnection(id, spec, s) {
|
||||
spawn named ['IncomingConnection', id] {
|
||||
spawn named ['IncomingConnection', id, spec] {
|
||||
assert IncomingConnection(id, spec);
|
||||
stop on retracted Observe(IncomingConnection(_, spec)) s.destroy();
|
||||
stop on message ConnectionRejected(id, $err) s.destroy(err);
|
||||
|
|
Loading…
Reference in New Issue