First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
answered 2013-11-19 16:39:08 -0500
I am not quite sure why it does this, but add
app.Destroy()
at the very end of your code and it should work fine.