close

abstract fun close()

Marks the scope as expired.

After close(), any call to shortCircuit throws RaiseScopeLeakedException instead of the normal RaisedException. Called automatically by fold / folding when the block finishes.