Fix crash on quit

TODO: Actually fix deconstructor

Just leak memory which will be reclaimed by the OS when the app exits regardless.
We should really fix the deconstructor though.