Skip to content

Commit

Permalink
Merge 34c3ae2 into c82cfa2
Browse files Browse the repository at this point in the history
  • Loading branch information
postlund committed Nov 26, 2019
2 parents c82cfa2 + 34c3ae2 commit df2a711
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyatv/mrp/pairing.py
Expand Up @@ -29,7 +29,7 @@ def __init__(self, config, session, loop):

async def close(self):
"""Call to free allocated resources after pairing."""
await self.connection.close()
self.connection.close()
await super().close()

@property
Expand All @@ -39,6 +39,7 @@ def has_paired(self):

async def begin(self):
"""Start pairing process."""
await self.protocol.start(skip_initial_messages=True)
await self.pairing_procedure.start_pairing()

async def finish(self):
Expand Down

0 comments on commit df2a711

Please sign in to comment.