Skip to content

Commit

Permalink
[Dubbo-4115] When the network is reconnected, the listener should not…
Browse files Browse the repository at this point in the history
… to be empty. (#4116)
  • Loading branch information
zonghaishang authored and ralf0131 committed May 23, 2019
1 parent 13e876e commit 779fc27
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 779fc27

Please sign in to comment.