Changeset 27297 in project


Ignore:
Timestamp:
08/26/12 08:05:15 (9 years ago)
Author:
Christian Kellermann
Message:

Fix hang on reader thread for music finished callback

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/sdl-mixer/trunk/sdl-mixer-lolevel.scm

    r26751 r27297  
    261261static void music_finished (){
    262262        if (music_callback_fd >= 0) {
    263                 write(music_callback_fd, "1", 1);
     263                write(music_callback_fd, "1\n", 2);
    264264        }
    265265}
     
    277277                (let ((v (read p)))
    278278                  (unless (eof-object? v)
    279                           (handler v)
     279                          (handler)
    280280                          (loop))
    281281                  (close-input-port p))))))
Note: See TracChangeset for help on using the changeset viewer.