Don't call shared_from_this() from a destructor
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user