How to destroy a window on the heap correctly?

Printable View