SFML community forums

Bindings - other languages => DotNet => Topic started by: inlinevoid on June 06, 2013, 11:38:47 pm

Title: SFML hanging on RenderWindow close.
Post by: inlinevoid 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();
        }
    }
}