Skip to content
Snippets Groups Projects
  • Deucе's avatar
    14ede244
    Fix up exit codes on macOS · 14ede244
    Deucе authored
    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.
    14ede244
    History
    Fix up exit codes on macOS
    Deucе authored
    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.