diff options
| author | Scott Gasch <[email protected]> | 2026-08-18 16:07:11 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2026-08-18 16:07:11 -0700 |
| commit | a99cc7a0289e4106f6bb1954660a3df5c53d470b (patch) | |
| tree | 0568de5f2081aa84a3300b3ec0980c39c290a64f /src | |
| parent | 28893e6e412708be42a3ffc0213fca1c2f35589c (diff) | |
Stop hanging on exit!
Diffstat (limited to 'src')
| -rwxr-xr-x | src/input.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c index 9f829f7..389b658 100755 --- a/src/input.c +++ b/src/input.c @@ -313,9 +313,11 @@ Return value: fFailure = TRUE; } #endif - if (fFailure == TRUE) + if (fFailure == TRUE) { Trace("INPUT THREAD: got end-of-file on stdin, exiting.\n"); + g_fExitProgram = TRUE; + _UnblockBlockedReaders(); break; } |
