BBS:      TELESC.NET.BR
Assunto:  src/syncterm/syncterm.c
De:       Deuc¨
Data:     Thu, 19 Mar 2026 14:38:35 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/e89754f2017a212123986411
Modified Files:
	src/syncterm/syncterm.c
Log Message:
Fix zombie process on window close while connected (ticket 229)

CIO_KEY_QUIT is pushed once when the window closes.  After the main
loop consumes it, check_exit() sets quitting but UIFC_XF_QUIT was
never set, so any subsequent uifc.list() call blocks forever waiting
for input from the dead window.

Fix: check_exit() now returns true immediately if quitting is already
set, and sets UIFC_XF_QUIT alongside quitting so all uifc calls bail
out instead of blocking.

Co-Authored-By: Claude Opus 4.6 (1M context) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]