Ho notato che l'errore si genera anche soltanto chiudendo una scheda...