mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Lock the world so we don't cause nastiness and crashes
This commit is contained in:
@@ -39,8 +39,10 @@ namespace OpenSim.world
|
||||
}
|
||||
|
||||
public void DoStuff() {
|
||||
physics.DoStuff(this);
|
||||
this.Update();
|
||||
lock(this) {
|
||||
physics.DoStuff(this);
|
||||
this.Update();
|
||||
}
|
||||
}
|
||||
|
||||
public void Update() {
|
||||
|
||||
Reference in New Issue
Block a user