What happens to orphan resources? Are they deleted?

AFAIK yes, but it may take some time as it is handled via the note history setting.(Does Joplin automatically delete orphan attachments?).