Subj : src/conio/ciolib.c sdl_con.c To : Git commit to main/sbbs/master From : Deucе Date : Sun Mar 17 2024 03:50 pm https://gitlab.synchro.net/main/sbbs/-/commit/14ede244078ccdede32e86ad Modified Files: src/conio/ciolib.c sdl_con.c Log Message: Fix up exit codes on macOS The issue was that the various semaphores and mutexes weren't being initialized at all when sdl_initconio() wasn't called... so starting the event thread and telling it to stop would access uncreated semaphores and mutexes. Split out the init, and be sure to call it before exiting. .