EnyimMemcached cannot be used by many session factories

Description

NHibernate.Caches.EnyimMemcached use a common static memcache client, disposed of at Stop. This hinders using two session factories, because stopping one of them will cause the cache to be stopped for the other.

Found due to a failure of test case tear down when many provider were started.

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created October 22, 2017 at 11:12 AM
Updated October 22, 2017 at 3:51 PM
Resolved October 22, 2017 at 3:51 PM
Who's Looking?