Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hanging when destroying GlContext #29

Closed
Berengal opened this issue Apr 15, 2011 · 1 comment
Closed

Hanging when destroying GlContext #29

Berengal opened this issue Apr 15, 2011 · 1 comment

Comments

@Berengal
Copy link

Whenever a GlContext is destroyed the entire thread hangs, as demonstrated by this program:

#include <SFML/Window.hpp>

int main(void)
{
  {
    sf::Window window(sf::VideoMode(100, 100), "Test");
  }
  return 0;
}

I've found the place it hangs to be on line 126 in SFML/Window/GlContext.cpp. This was working before commit fd0d18f12e0793911ea560f7afc4c79f4421f70c.

@LaurentGomila
Copy link
Member

Please don't open new issues for something that was broken by the latest commit, it might be some work in progress or simply a silly mistake that will be fixed the next day.

This kind of stuff is better discussed on the forum.

I'll close this task, please discuss it on the forum (and give more details, I can't reproduce the bug with this code you gave).

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants