Lv_win - how to close the created window?

As far as I know it is safe to delete using lv_obj_del.