Include listener spec in incoming connection actor name

This commit is contained in:
Tony Garnock-Jones 2018-11-29 16:26:45 +00:00
parent 1f9e050048
commit ab3b22576d
1 changed files with 1 additions and 1 deletions

View File

@ -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);