Avoid deleting the untyped items of a queue; just count the number of dangling items (if needed). Fixed generic code path.
Avoid deleting the untyped items of a queue; just count the number of dangling items (if needed). Fixed generic code path.

hfp/libxstream,mjklemm/libxstream,mjklemm/libxstream,hfp/libxstream