diff options
author | Teravus Ovares | 2008-05-21 22:06:38 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-05-21 22:06:38 +0000 |
commit | c8857daf528954ad039346ececf7f6d92bc2c951 (patch) | |
tree | add6eb41a40ddd21a1fb3c4b4f04124283042122 /OpenSim | |
parent | * Sets backup bool volatile for extra protection against two backup processes... (diff) | |
download | opensim-SC_OLD-c8857daf528954ad039346ececf7f6d92bc2c951.zip opensim-SC_OLD-c8857daf528954ad039346ececf7f6d92bc2c951.tar.gz opensim-SC_OLD-c8857daf528954ad039346ececf7f6d92bc2c951.tar.bz2 opensim-SC_OLD-c8857daf528954ad039346ececf7f6d92bc2c951.tar.xz |
* Going to the C# syntactic sugar way of handling the backup event delegates.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/EventManager.cs | 10 |
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() |