this.markedForDisposal = true;
readerPool.markForDisposal( this::checkFullDisposal );
}
private synchronized void checkFullDisposal()
{
<BUG>if ( bufferedWriter == null && readerPool.isDisposed() )
</BUG>
{
isDisposed = true;
onDisposal.run();

this.markedForDisposal = true;
readerPool.markForDisposal( this::checkFullDisposal );
}
private synchronized void checkFullDisposal()
{
if ( markedForDisposal && bufferedWriter == null && readerPool.isDisposed() )
{
isDisposed = true;
onDisposal.run();
