Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
let base class dtor deal with surf action
[simgrid.git] / src / kernel / activity / SleepImpl.cpp
index 8735baf..addab36 100644 (file)
@@ -18,13 +18,6 @@ namespace simgrid {
 namespace kernel {
 namespace activity {
 
-SleepImpl::~SleepImpl()
-{
-  if (surf_action_)
-    surf_action_->unref();
-  XBT_DEBUG("Destroy activity %p", this);
-}
-
 SleepImpl* SleepImpl::start(double duration)
 {
   surf_action_ = host_->pimpl_cpu->sleep(duration);