commitIfActive

public final void commitIfActive()

Commits this transaction if it is still active.

If the transaction is not active, does nothing.

See also