leave

fun leave(): Unit

Exits the semaphore.

If limit was reached, this will potentially resume suspended coroutines that invoked the enter method.