Code

suppress warnings when closing a desktop but not program