diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 949cf19..cffb23c 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1186,10 +1186,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1186 | if (!m_backingup) | 1186 | if (!m_backingup) |
1187 | { | 1187 | { |
1188 | m_backingup = true; | 1188 | m_backingup = true; |
1189 | Thread backupthread = new Thread(Backup); | 1189 | |
1190 | backupthread.Name = "BackupWriter"; | 1190 | System.ComponentModel.BackgroundWorker backupWorker = new System.ComponentModel.BackgroundWorker(); |
1191 | backupthread.IsBackground = true; | 1191 | backupWorker.DoWork += delegate(object sender, System.ComponentModel.DoWorkEventArgs e) { Backup(); }; |
1192 | backupthread.Start(); | 1192 | backupWorker.RunWorkerAsync(); |
1193 | } | 1193 | } |
1194 | } | 1194 | } |
1195 | 1195 | ||