Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue #394 #397

Merged
merged 2 commits into from
Aug 24, 2018
Merged

Fix issue #394 #397

merged 2 commits into from
Aug 24, 2018

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