Skip to content

Commit

Permalink
fix issue apache#4115
Browse files Browse the repository at this point in the history
  • Loading branch information
zonghaishang committed May 22, 2019
1 parent df084ad commit 7bacc82
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,14 @@ public void unwatch() {
}

try {
this.listener = null;
/**
* issue : https://github.com/apache/incubator-dubbo/issues/4115
*
* When the network is reconnected, the listener is empty
* and the data cannot be received.
*/
// this.listener = null;

if (watchRequest != null) {
WatchCancelRequest watchCancelRequest =
WatchCancelRequest.newBuilder().setWatchId(watchId).build();
Expand Down

0 comments on commit 7bacc82

Please sign in to comment.