Changeset 4629 for branches/HeuristicLab.Hive/sources/HeuristicLab.Hive.New/HeuristicLab.Services.Hive.DataAccess/3.3/ContextFactory.cs
- Timestamp:
- 10/20/10 15:05:55 (14 years ago)
- Location:
- branches/HeuristicLab.Hive/sources/HeuristicLab.Hive.New/HeuristicLab.Services.Hive.DataAccess/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive/sources/HeuristicLab.Hive.New/HeuristicLab.Services.Hive.DataAccess/3.3
- Property svn:ignore
-
old new 1 1 bin 2 2 obj 3 *.user
-
- Property svn:ignore
-
branches/HeuristicLab.Hive/sources/HeuristicLab.Hive.New/HeuristicLab.Services.Hive.DataAccess/3.3/ContextFactory.cs
r4598 r4629 75 75 transactions.Add(threadId, transaction); 76 76 } 77 return context;77 return disposableContext; 78 78 } 79 79 } … … 96 96 lock (locker) { 97 97 int threadId = Thread.CurrentThread.ManagedThreadId; 98 contexts[threadId]. Dispose();98 contexts[threadId].Obj.Dispose(); 99 99 contexts.Remove(threadId); 100 100 // context gets disposed implicitly, when it is used as IDisposable
Note: See TracChangeset
for help on using the changeset viewer.