Memorix101 / SharpQuake

SharpQuake is a GLQuake reimplementation in C# using the OpenTK library
https://memorix101.itch.io/sharpquake
GNU General Public License v2.0
51 stars 18 forks source link

mainwindow never actually is disposed #4

Closed nukeandbeans closed 5 years ago

nukeandbeans commented 5 years ago

This causes the Quake process to continue running in the background. Adding mainwindow.Instance.Dispose(); below mainwindow.Instance.Exit(); at line 232 of sys.cs fixes this issue.

I was going to create a PR for this but I'm using a different project setup and didn't want to pollute things.

Memorix101 commented 5 years ago

Thank you. I will add it. 🙂