Skip to content

Commit

Permalink
Fix MessageBroker not being destroyed on last connection close
Browse files Browse the repository at this point in the history
  • Loading branch information
madadam committed Jun 19, 2024
1 parent 5cfa30d commit e54cf90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/network/message_broker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl MessageBroker {

/// Has this broker at least one live connection?
pub fn has_connections(&self) -> bool {
!self.dispatcher.is_bound()
self.dispatcher.is_bound()
}

/// Try to establish a link between a local repository and a remote repository. The remote
Expand Down

0 comments on commit e54cf90

Please sign in to comment.