@@ -50,7 +50,9 @@ function checknext(reader) {
if (seq === state.nextSeq)
state.nextSeq++;
- state.active = reader.push(object);
+ if (object)
+ state.active = reader.push(object);
+
checknext(reader);
});
} else if (index.ended) {