View | Details | Raw Unified | Return to bug 2310
Collapse All | Expand All

(-)a/src/energy/model/li-ion-energy-source.cc (-2 lines)
 Lines 253-260    Link Here 
253
LiIonEnergySource::DoDispose (void)
253
LiIonEnergySource::DoDispose (void)
254
{
254
{
255
  NS_LOG_FUNCTION (this);
255
  NS_LOG_FUNCTION (this);
256
  // calculate remaining energy at the end of simulation
257
  CalculateRemainingEnergy ();
258
  BreakDeviceEnergyModelRefCycle ();  // break reference cycle
256
  BreakDeviceEnergyModelRefCycle ();  // break reference cycle
259
}
257
}
260
258

Return to bug 2310