IF all doors were closed, what is the occupant load of the floor. If one exit is blocked, how many people would be using the corridor to access the second exit??
Regardless of whether doors or open or closed: Occupancy of the floor is 40 with 2 exits. The loss of one exit: 40 occupants means of egress will be a corridor sized for 20 occupants according to 1005.5.