aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-21 22:06:38 +0000
committerTeravus Ovares2008-05-21 22:06:38 +0000
commitc8857daf528954ad039346ececf7f6d92bc2c951 (patch)
treeadd6eb41a40ddd21a1fb3c4b4f04124283042122 /OpenSim/Region/Environment/Scenes
parent* Sets backup bool volatile for extra protection against two backup processes... (diff)
downloadopensim-SC-c8857daf528954ad039346ececf7f6d92bc2c951.zip
opensim-SC-c8857daf528954ad039346ececf7f6d92bc2c951.tar.gz
opensim-SC-c8857daf528954ad039346ececf7f6d92bc2c951.tar.bz2
opensim-SC-c8857daf528954ad039346ececf7f6d92bc2c951.tar.xz
* Going to the C# syntactic sugar way of handling the backup event delegates.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/EventManager.cs10
1 files changed, 2 insertions, 8 deletions
diff --git a/OpenSim/Region/Environment/Scenes/EventManager.cs b/OpenSim/Region/Environment/Scenes/EventManager.cs
index c6daa28..7ff9213 100644
--- a/OpenSim/Region/Environment/Scenes/EventManager.cs
+++ b/OpenSim/Region/Environment/Scenes/EventManager.cs
@@ -355,16 +355,10 @@ namespace OpenSim.Region.Environment.Scenes
355 public void TriggerOnBackup(IRegionDataStore dstore) 355 public void TriggerOnBackup(IRegionDataStore dstore)
356 { 356 {
357 handlerBackup = OnBackup; 357 handlerBackup = OnBackup;
358 Delegate[] items = OnBackup.GetInvocationList(); 358 if (handlerBackup != null)
359 foreach (OnBackupDelegate del in items)
360 { 359 {
361 if (del != null) 360 handlerBackup(dstore);
362 del(dstore);
363 } 361 }
364 //if (handlerBackup != null)
365 //{
366 // handlerBackup(dstore);
367 //}
368 } 362 }
369 363
370 public void TriggerParcelPrimCountUpdate() 364 public void TriggerParcelPrimCountUpdate()