Change unread-on-destroy condition for circular buffer to merely a warning.

This commit is contained in:
Michael Bebenita 2010-07-28 00:02:00 -07:00 committed by Graydon Hoare
parent c5e0ea7276
commit c1795a1046

View file

@ -35,7 +35,7 @@ circular_buffer::~circular_buffer() {
"~circular_buffer 0x%" PRIxPTR,
this);
I(dom, _buffer);
// I(dom, _unread == 0);
W(dom, _unread == 0, "~circular_buffer with unread messages.");
dom->free(_buffer);
}