
While unloading cas_cache module, volume types were deinitialized, although core pool still wasn't empty. Now this deinitialization can be done after removing cores from core pool, and before context is freed. Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>