---
name: "SVK::Editor::TxnCleanup"
section: "3pm"
platform: "linux"
package: "svk"
version: "2.0.2-3"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/SVK::Editor::TxnCleanup"
---

# SVK::Editor::TxnCleanup(3pm)

An editor that aborts a txn when it is aborted

## NAME

SVK::Editor::TxnCleanup - An editor that aborts a txn when it is aborted

## SYNOPSIS

```
 my $editor = ...
 # stack the txn cleanup editor on
 $editor = SVK::Editor::TxnCleanup-> (_editor => [$editor], txn => $txn );
 # ... do some stuff ...
 $editor->abort_edit;
 # $txn->abort gets called.
```
