Skip to content

Cleanup subscriptions on client disconnect#324

Merged
ikalchev merged 1 commit intoikalchev:devfrom
bdraco:cleanup_subscriptions_on_disconnect
Mar 3, 2021
Merged

Cleanup subscriptions on client disconnect#324
ikalchev merged 1 commit intoikalchev:devfrom
bdraco:cleanup_subscriptions_on_disconnect

Conversation

@bdraco
Copy link
Copy Markdown
Contributor

@bdraco bdraco commented Mar 3, 2021

  • Solves a memory leak with topics
  • Increase test coverage

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 3, 2021

Codecov Report

Merging #324 (c1002a9) into dev (6ad1812) will increase coverage by 0.22%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #324      +/-   ##
==========================================
+ Coverage   84.07%   84.30%   +0.22%     
==========================================
  Files          19       19              
  Lines        1865     1873       +8     
  Branches      216      219       +3     
==========================================
+ Hits         1568     1579      +11     
+ Misses        231      230       -1     
+ Partials       66       64       -2     
Impacted Files Coverage Δ
pyhap/accessory_driver.py 86.13% <100.00%> (+1.19%) ⬆️
pyhap/hap_protocol.py 98.13% <100.00%> (+0.01%) ⬆️

@bdraco bdraco force-pushed the cleanup_subscriptions_on_disconnect branch from ad51aaa to 0097746 Compare March 3, 2021 07:48
@bdraco bdraco marked this pull request as ready for review March 3, 2021 07:54
- Solves a memory leak with topics
- Increase test coverage
@bdraco bdraco force-pushed the cleanup_subscriptions_on_disconnect branch from 0097746 to c1002a9 Compare March 3, 2021 08:01
@ikalchev ikalchev merged commit e8920d8 into ikalchev:dev Mar 3, 2021
@ikalchev
Copy link
Copy Markdown
Owner

ikalchev commented Mar 3, 2021

Can't believe we catch that now.
Great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants