Skip to content
Snippets Groups Projects
Commit bebc2642 authored by Srinivasan Ramasubramanian's avatar Srinivasan Ramasubramanian
Browse files

Undoing the previous changes to the controller and OFSwitchImpl.

parent dd3cb5fa
No related branches found
No related tags found
No related merge requests found
......@@ -898,7 +898,7 @@ public class Controller
}
// will eventually trigger a removeSwitch(), which will cause
// a "Not removing Switch ... already removed debug message.
// oldSw.getChannel().close();
oldSw.getChannel().close();
}
updateActiveSwitchInfo(sw);
......
......@@ -360,9 +360,4 @@ public class OFSwitchImpl implements IOFSwitch {
public TimedCache<Long> getTimedCache() {
return timedCache;
}
protected void finalize() {
if (this.channel != null)
this.channel.close();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment