Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML hanging on RenderWindow close.  (Read 2828 times)

0 Members and 1 Guest are viewing this topic.

inlinevoid

  • Newbie
  • *
  • Posts: 49
    • MSN Messenger - inlinevoidmain@gmail.com
    • AOL Instant Messenger - inlinevoid
    • View Profile
    • Email
SFML hanging on RenderWindow close.
« on: June 06, 2013, 11:38:47 pm »
I'm testing out SFML in C# and am having a slight problem.  When closing the window, or even just letting the main thread exit, the window itself will close but the program will hang for about 10 seconds before actually closing.  I'd appreciate any solutions.

namespace SFMLNET_Test
{
    class Program
    {
        static void Main(string[] args)
        {
            RenderWindow window = new RenderWindow(new VideoMode(1280, 720), "SFML", Styles.Close);
            window.Close();
        }
    }
}