Use tryProgress just in case of user error

This commit is contained in:
Trustin Lee 2013-07-19 13:30:33 +09:00
parent 762adfcb69
commit 4f6ba4fe3d

View File

@ -350,7 +350,7 @@ public class ChunkedWriteHandler
void progress() {
progress ++;
if (promise instanceof ChannelProgressivePromise) {
((ChannelProgressivePromise) promise).setProgress(progress, -1);
((ChannelProgressivePromise) promise).tryProgress(progress, -1);
}
}
}