I've always released them but I've heard of them being arrested in the past for 10.1. I haven't personally seen this myself but I've heard of it. I just take them to hospital for RP reasons and drop them offYou generally detain them for their own safety and take them somewhere far away from the ledge.
Standing by a ledge threatening to jump isn't against the law though, so you have to release them.
Don’t forget to tell them to stop resisting or they will be tazed.Inform the suicidal person that they're loitering. Give them a lawful order to leave the ledge (and the area), if they do not comply immediately arrest them for 6.5 later, maximum.