Skip to content

Commit

Permalink
Fix sync disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
Shutgun committed Nov 18, 2021
1 parent 2c8b3c2 commit 2f8d397
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion devolo_plc_api/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ async def async_disconnect(self) -> None:

def disconnect(self) -> None:
""" Disconnect from a device asynchronous. """
self._loop.run_until_complete(self.async_disconnect())
asyncio.gather(self.async_disconnect())
self._loop.close()

async def _get_device_info(self) -> None:
Expand Down
6 changes: 6 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### [v0.6.3] - 2021/11/18

### Fixed

- Disconncting from a device synchroniously works again

### [v0.6.2] - 2021/10/28

### Fixed
Expand Down

0 comments on commit 2f8d397

Please sign in to comment.