Commit 923f40a4 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor fix; change where DeleteInternalProgramAgents() is called.

parent 4b058d69
......@@ -576,6 +576,9 @@ sub doSwapout($) {
}
if ($type >= CLEANUP) {
# XXX Do this before releasing the nodes. Needs more thought.
$experiment->DeleteInternalProgramAgents();
#
# Undo plab in elab specialness.
# No need to worry about VLANs here, as all the special abilities
......@@ -826,7 +829,6 @@ sub doSwapout($) {
$experiment->RemovePhysicalState();
# Special.
$experiment->ClearPortRegistration();
$experiment->DeleteInternalProgramAgents();
}
tblog_set_cleanup(0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment