Skip to content

Commit c5feadd

Browse files
committed
Do not dispose of Cluster and Bucket
1 parent 35bc7d2 commit c5feadd

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Couchbase.AspNet/SessionState/CouchbaseSessionStateProvider.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,6 @@ public override void Initialize(string name, NameValueCollection config)
128128
/// </summary>
129129
public override void Dispose()
130130
{
131-
lock (_syncObj)
132-
{
133-
if (_cluster != null)
134-
{
135-
_cluster.Dispose();
136-
_cluster = null;
137-
}
138-
}
139131
}
140132

141133
/// <summary>

0 commit comments

Comments
 (0)