If accidental exposure reaches the threshold but is covered before the duration of one prayer pillar passes, the prayer is not invalidated merely by that brief exposure under the rule taught here.

Awrah Exposure and Clothing Scarcity in Prayer