Ciao , sotto
codice:
URL.revokeObjectURL(url)
aggiungi
codice:
selectPhoto.value = ""
.