about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-06-03T12·01+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-06-03T12·02+0200
commit080d6079757bdf7af86c2743411e9ff8f06a504e (patch)
treeebc3c3b27ed2bf3d86570b781f4685fd54121400
parent30c8c3ba2d5be3a02db00e89bd54cd050764a209 (diff)
Don't call shared_from_this() from a destructor
-rw-r--r--src/libstore/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 3233a8d5cd2a..12cfd5ae78ba 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -3081,7 +3081,7 @@ SubstitutionGoal::~SubstitutionGoal()
     try {
         if (thr.joinable()) {
             thr.join();
-            worker.childTerminated(shared_from_this());
+            //worker.childTerminated(shared_from_this()); // FIXME
         }
     } catch (...) {
         ignoreException();