Skip to content

Simplify checkUnflushedContent. NFC - #27766

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:checkUnflushedContent
Sep 22, 2026
Merged

sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:checkUnflushedContent

Conversation

@sbc100

@sbc100 sbc100 commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

Split out from #27765

@sbc100
sbc100 requested a review from kripken September 22, 2026 20:29
@sbc100
sbc100 enabled auto-merge (squash) September 22, 2026 20:29
@sbc100
sbc100 requested a review from hoodmane September 22, 2026 20:37
Comment thread src/postamble.js
var rdev = stream.rdev;
var tty = TTY.ttys[rdev];
if (tty?.output?.length) {
for (var tty of Object.values(TTY.ttys)) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will still say

stdio streams had content in them that was not flushed...

even though it might be in a tty that isn't stdio. But that is probably not a huge deal.

@sbc100
sbc100 merged commit f3a4ade into emscripten-core:main Sep 22, 2026
42 checks passed
@sbc100
sbc100 deleted the checkUnflushedContent branch September 22, 2026 21:29
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.

3 participants