Fix double deletion with debug area.