Hello everyone, I'm having an issue with an app I wrote. when I close the window through the window's close button, it closes fine with no errors, but when I close the window through the console it gives me a runtime error. Normally I wouldn't care about the console but it makes me weary that there might be a memory leak somewhere. Does anyone know how I could fix this? If you need my code I can give it to you.