} else
cloned_buffers.erase(it);
}
- // FIXME Do we really need to do this right before we delete d?
- // clear references to children in macro tables
- d->children_positions.clear();
- d->position_to_children.clear();
} else {
// loop over children
for (auto const & p : d->children_positions) {
Alert::warning(_("Attempting to close changed document!"), msg);
}
- // FIXME Do we really need to do this right before we delete d?
- // clear references to children in macro tables
- d->children_positions.clear();
- d->position_to_children.clear();
-
if (!d->temppath.destroyDirectory()) {
LYXERR0(bformat(_("Could not remove the temporary directory %1$s"),
from_utf8(d->temppath.absFileName())));