A attempt to fix the user manager db4o crash bug (where you have to delete userprofiles.yap to get opensim to start)
parent
3520e9e3ee
commit
cea2e45da9
|
@ -123,7 +123,10 @@ namespace OpenSim.Framework.Data.DB4o
|
|||
IObjectSet result = database.Get(typeof(UserProfileData));
|
||||
foreach (UserProfileData row in result)
|
||||
{
|
||||
userProfiles.Add(row.UUID, row);
|
||||
if (!userProfiles.ContainsKey(row.UUID))
|
||||
{
|
||||
userProfiles.Add(row.UUID, row);
|
||||
}
|
||||
}
|
||||
database.Close();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue