Correctly set the destroyed flag

This commit is contained in:
Norman Maurer 2013-07-11 11:50:56 +02:00
parent c0580cfe71
commit 10097bf881

View File

@ -1204,6 +1204,7 @@ public class HttpPostRequestDecoder {
*/
public void destroy() {
checkDestroyed();
destroyed = true;
cleanFiles();
if (undecodedChunk != null && undecodedChunk.refCnt() > 0) {