A detector (60) configured to be pressed and moved by a second housing (40) in the process of connecting first and second housings (10, 40) and separate the second housing 40 from the first housing (10) when a connecting operation of the first and second housings is stopped halfway is mounted on the first housing (10). The detector (60) integrally includes a resilient arm (61) configured to apply a separation force to the second housing (40) in a direction to separate the second housing (40) from the first housing (10) by sliding on a guiding surface (27) in one of the first and second housings (10, 40) to be deflected and deformed in a direction intersecting a connecting direction of the first and second housings (10, 40) in the process of connecting the first and second housings (10, 40).