diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-06-03T12·01+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-06-03T12·02+0200 |
commit | 080d6079757bdf7af86c2743411e9ff8f06a504e (patch) | |
tree | ebc3c3b27ed2bf3d86570b781f4685fd54121400 /src/libstore/build.cc | |
parent | 30c8c3ba2d5be3a02db00e89bd54cd050764a209 (diff) |
Don't call shared_from_this() from a destructor
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 2 |
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(); |