Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/edges/editor/PhabricatorEdgeEditor.php
Show First 20 Lines • Show All 128 Lines • ▼ Show 20 Lines | try { | ||||
$this->detectCycles($src_phids, $cycle_type); | $this->detectCycles($src_phids, $cycle_type); | ||||
} | } | ||||
$this->saveTransactions(); | $this->saveTransactions(); | ||||
} catch (Exception $ex) { | } catch (Exception $ex) { | ||||
$caught = $ex; | $caught = $ex; | ||||
} | } | ||||
if ($caught) { | if ($caught) { | ||||
$this->killTransactions(); | $this->killTransactions(); | ||||
} | } | ||||
foreach ($locks as $lock) { | foreach ($locks as $lock) { | ||||
$lock->unlock(); | $lock->unlock(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 262 Lines • Show Last 20 Lines |