Skip to content

Commit

Permalink
[FAB-5401]Disconnect Event Hub Asynchronously
Browse files Browse the repository at this point in the history
Change-Id: If9332da5969cc667d51757ddebbe5ea8690b3dc1
Signed-off-by: Divyank Katira <[email protected]>
  • Loading branch information
d1vyank committed Jul 20, 2017
1 parent a95d5fc commit 1e9e2f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/fabric-client/events/eventhub.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (eventHub *EventHub) Disconnect() {
}

// Unregister interests with server and stop the stream
eventHub.grpcClient.Unregister(eventHub.interestedEvents)
eventHub.grpcClient.UnregisterAsync(eventHub.interestedEvents)
eventHub.grpcClient.Stop()

eventHub.connected = false
Expand Down

0 comments on commit 1e9e2f0

Please sign in to comment.