Removes and disposes all items from the queue.
This method does not call the drop handler when removing items. Reference (i.e., kObject-derived) items are automatically disposed.
This method is thread-safe.