remove threads
							parent
							
								
									bc143cb52d
								
							
						
					
					
						commit
						e0ff4ffbdf
					
				|  | @ -12,7 +12,6 @@ using System.Linq; | ||||||
| using System.Reflection; | using System.Reflection; | ||||||
| using System.Security.Cryptography; | using System.Security.Cryptography; | ||||||
| using System.Text; | using System.Text; | ||||||
| using System.Threading; |  | ||||||
| using System.Timers; | using System.Timers; | ||||||
| 
 | 
 | ||||||
| [assembly: Addin("DataValueModule", "0.1")] | [assembly: Addin("DataValueModule", "0.1")] | ||||||
|  | @ -170,8 +169,7 @@ namespace OpenSim.Modules.DataValue | ||||||
|                     checkRateLimit(); |                     checkRateLimit(); | ||||||
| 
 | 
 | ||||||
|                     m_cache.Add(new StorageElement(_host.GroupID.ToString(), key, value, m_storage)); |                     m_cache.Add(new StorageElement(_host.GroupID.ToString(), key, value, m_storage)); | ||||||
| 
 |                     m_storage.save(_host.GroupID.ToString(), key, value); | ||||||
|                     (new Thread(delegate () { try { m_storage.save(_host.GroupID.ToString(), key, value); } catch (Exception _innterError) { m_log.Error(_innterError.Message); } })).Start();                     |  | ||||||
|                     return; |                     return; | ||||||
|                 } |                 } | ||||||
|                 catch (Exception _error) |                 catch (Exception _error) | ||||||
|  | @ -197,7 +195,7 @@ namespace OpenSim.Modules.DataValue | ||||||
|                     if (_element != null) |                     if (_element != null) | ||||||
|                         m_cache.Remove(_element); |                         m_cache.Remove(_element); | ||||||
| 
 | 
 | ||||||
|                     (new Thread(delegate () { try { m_storage.remove(_host.GroupID.ToString(), key); } catch(Exception _innterError) { m_log.Error(_innterError.Message); }  })).Start(); |                     m_storage.remove(_host.GroupID.ToString(), key); | ||||||
|                 } |                 } | ||||||
|                 catch (Exception _error) |                 catch (Exception _error) | ||||||
|                 { |                 { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Christopher
						Christopher