If just clean nail and no crap got poked in with it plenty safe to just switch tubes or or patch old tubeif the stem didn't get ripped out for the suddenly deflate. The optimal solution is patch over the tire wound to keep grit out and prevent possible tube abrasion. So how lucky or lazy do ya feel?
I had blow outs at either end w/o crashing or having much skill to pull over. Only one that freaked out was rear balloon tubeless rear went flat doing 90 in a straight but went nutzo slowing to 30's for a sharp bend and tossed the SV650 over as usual, WeeeHooDpoggieDooo. Why did yours almost crash you? Low air practice can prevent tube blow out surprises as there is distinct but suble handling change prior that feels for all the world like just slightly extra wind gusts till the stem pulls apart. Do low rear first then air up and let front down, then both down with some mild zig zags a few min. is all it''ll take to imprint for ever more what is meant by THE HInge onset in C'do's and take on racers that may not know what to do that much over limits out of control crash saving reflexes at reasonable ates its safe as it'll ever get for pure muscle memory brain stem fast automatically correct reactions.