SFML/SFML.Net

`RenderWindow` hates asynchronous methods

TheVeryStarlk opened this issue · 0 comments

Hi there, I have been playing around with SFML.NET and I ran into a rather weird issue, the RenderWindow class seems to hate any asynchronous method that comes after its constructor initialization:

var window = new RenderWindow(new VideoMode(800, 600), "Demo");
await new HttpClient().GetAsync("https://google.com");

As it keeps logging this:

Failed to activate the window's context
Failed to activate OpenGL context: The requested resource is in use.

Is there anything I can do about it?
The SFML.NET project is inside the Console project Repro.zip