mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00:00
Remove outdated FIXMEs about consuming extra stdin data
This commit is contained in:
parent
c08c8bd073
commit
bf33fd752d
@ -83,7 +83,6 @@ function spawn_process(ctx, executablePath) {
|
||||
// Repeatedly copy data from stdin to the child, while it's running.
|
||||
let data, done;
|
||||
const next_data = async () => {
|
||||
// FIXME: This waits for one more read() after we finish.
|
||||
({ value: data, done } = await Promise.race([
|
||||
exit_promise, sigint_promise, ctx.externs.in_.read(),
|
||||
]));
|
||||
@ -135,7 +134,6 @@ function spawn_pty(ctx, executablePath) {
|
||||
// Repeatedly copy data from stdin to the child, while it's running.
|
||||
let data, done;
|
||||
const next_data = async () => {
|
||||
// FIXME: This waits for one more read() after we finish.
|
||||
({ value: data, done } = await Promise.race([
|
||||
exit_promise, sigint_promise, ctx.externs.in_.read(),
|
||||
]));
|
||||
|
@ -86,7 +86,6 @@ export class PuterAppCommandProvider {
|
||||
// DRY: Initially copied from PathCommandProvider
|
||||
let data, done;
|
||||
const next_data = async () => {
|
||||
// FIXME: This waits for one more read() after we finish.
|
||||
({ value: data, done } = await Promise.race([
|
||||
app_close_promise, sigint_promise, ctx.externs.in_.read(),
|
||||
]));
|
||||
|
Loading…
Reference in New Issue
Block a user