Skip to content

Fix issue #394#397

Merged
felixdivo merged 2 commits intodevelopfrom
fix-issue-394
Aug 24, 2018
Merged

Fix issue #394#397
felixdivo merged 2 commits intodevelopfrom
fix-issue-394

Conversation

@felixdivo
Copy link
Collaborator

Makes the locks in ThreadSafeBus object-local. They have been accidentally class-local with caused multiple instance to block each other.


# init locks for sending and receiving separately
_lock_send = RLock()
_lock_recv = RLock()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be self._lock....

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uff, sure ...

@codecov
Copy link

codecov bot commented Aug 24, 2018

Codecov Report

Merging #397 into develop will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff            @@
##           develop     #397   +/-   ##
========================================
  Coverage    59.25%   59.25%           
========================================
  Files           55       55           
  Lines         4263     4263           
========================================
  Hits          2526     2526           
  Misses        1737     1737

@felixdivo felixdivo merged commit 80ca49f into develop Aug 24, 2018
@felixdivo felixdivo deleted the fix-issue-394 branch August 24, 2018 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants