M1 will cash settle to the settlement price on expiration morning print. The. You will loose M1 exposure and have naked m2 exposure. You probably want to just trade the roll which is closing the exact position you have M1/M2.
expirations can get wild and the spread could be very wild or M1 can print at an outrageously low or high price, so I would close before expiration