>> + fprintf(stderr, "LUN %d thread exiting: %s\n", ccid->lun, >> + rc == 0 ? "normally" : strerror(errno)); >> + close(ccid->fd); >> + ccid->fd = -1; >> + ccid->lun = 0; >> + ccid->atr_len = 0; > > You decided not to remove STATE_OPEN from ccid->state? No, you're right. I've pushed a version that removes STATE_OPEN, thanks. Cheers, Jeremy _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel