Skip to content

Conversation

@jonscheiding
Copy link

The isFinished() method on StreamLog returns true when the stream is empty. Attempting to modify it so that (at least on POSIX platforms) it can only return true when the stream actually closes.

@acaudwell
Copy link
Owner

Hi. I tried it out and it seemed to work, I made a few comments.

@acaudwell
Copy link
Owner

Thought more about this.

Without a Windows implementation of isPipeOpen() I think the change to Gource might break streaming on Windows (re your tail example).

I wonder if there are other poll() statuses to make sure the pipe is valid.

Changing the isFinished() might have other unexpected side effects elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants