Fix #14: no call to downstream complete with padded partition when there's no incomplete partition

This commit is contained in:
Christophe Grand 2017-04-04 09:36:35 +02:00
parent e327d1899b
commit 5025e583f2

View file

@ -330,7 +330,7 @@
(vreset! barrier n)
(.clear dq)
acc)
acc))
(rf acc)))
([acc x]
(let [b (vswap! barrier dec)]
(when (< b n) (.add dq (if (nil? x) dq x)))