Fix deadlock when undoing Location removal
This commit is contained in:
parent
efcef70d9a
commit
f38a984396
@ -1276,7 +1276,9 @@ Locations::set_state (const XMLNode& node, int version)
|
||||
lcs.emplace_back (std::move (loc));
|
||||
loc->set_state (**niter, version);
|
||||
} else {
|
||||
loc = new Location (_session, **niter);
|
||||
loc = new Location (_session);
|
||||
lcs.emplace_back (std::move (loc));
|
||||
loc->set_state (**niter, version);
|
||||
}
|
||||
|
||||
bool add = true;
|
||||
|
Loading…
Reference in New Issue
Block a user