Which results in the receive_thread (possibly the send_thread) using invalid pointer members of xfer_t (e.g. user, client) because that/those threads are still running after the ctrl_thread terminates.
The waiting loop after "Waiting for transfer to complete..." was basically defeated by that change above.
--- SBBSecho 3.35-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Wed Jan 28 18:29:27 2026