1
DotNet / Why dragging the window prevents the window from being closed by window.Close()
« on: December 14, 2018, 07:13:29 pm »
I tried to separate the event loop and the main loop so that the window continues rendering while dragging the window. I have achieved this through another thread.
But when I am dragging the window and meanwhile the code calls window.Close() the window stays open until I release the left mouse button.
But when I am dragging the window and meanwhile the code calls window.Close() the window stays open until I release the left mouse button.