Skip to content

Commit 96e9802

Browse files
author
zhourenjian
committed
Fixing bug that compound pipe session is not correctly being notified when the pipe is broken
1 parent 451a1f0 commit 96e9802

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sources/net.sf.j2s.ajax/ajaxpipe/net/sf/j2s/ajax/CompoundPipeRunnable.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ public boolean isPipeLive() {
9090

9191
@Override
9292
public void pipeClosed() {
93-
super.pipeClosed();
9493
for (int i = 0; i < pipes.length; i++) {
9594
if (pipes[i] != null) {
9695
if (pipes[i].closer != null) {
@@ -101,17 +100,18 @@ public void pipeClosed() {
101100
pipes[i] = null;
102101
}
103102
}
103+
super.pipeClosed();
104104
}
105105

106106
@Override
107107
public void pipeLost() {
108-
super.pipeLost();
109108
for (int i = 0; i < pipes.length; i++) {
110109
if (pipes[i] != null) {
111110
pipes[i].pipeLost();
112111
pipes[i] = null;
113112
}
114113
}
114+
super.pipeLost();
115115
}
116116

117117
@Override

0 commit comments

Comments
 (0)