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 2 months, 1 week ago.

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

    Voidwalker
    Participant

    Hi,

    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?

    #10609

    Voidwalker
    Participant

    So it doesn’t happen for others?

    #10610

    TomToad
    Participant

    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.

    #10616

    nerobot
    Participant

    I see that error too developing ted2go.

    Don’t know what is it.

    #15381

    PixelPaladin
    Participant

    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.