SDL_PeepEvents error

About Monkey 2 Forums Monkey 2 Development SDL_PeepEvents error

This topic contains 4 replies, has 4 voices, and was last updated by  PixelPaladin 9 months, 2 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #10486



    when adding a timer like this:

    timer = New Timer( 60, OnUpdate )

    I get a SDL_PeepEvents error:
    in the console output when closing the app. Of course the OnUpdate method is there (but does nothing).

    I mean there is no crash, everything works fine, just this message when closing the app… What does that mean?



    So it doesn’t happen for others?



    I get the same error. Don’t know why. If I run the below in a command window, I get this printed to STDOUT:
    SDL_PeepEvents error:

    and this printed to STDERR:
    AL lib: (EE) alc_cleanup: 1 device not closed

    This is true whether I compile in debug or release.
    Without the timer, the SDL error disappears, but the AL error remains.



    I see that error too developing ted2go.

    Don’t know what is it.



    I often compile and test stuff via command line and whenever I use timers this error appears. While the main window has been closed some part of the program is still running so that I have to close it manually via Ctrl+C. I am not sure whether this bug only appears on Linux.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.