File mono-SessionState-Release.patch of Package mono

--- a/mcs/class/System.Web/System.Web.SessionState_2.0/SessionStateModule.cs.old	2017-04-07 13:15:48.474965076 +0200
+++ a/mcs/class/System.Web/System.Web.SessionState_2.0/SessionStateModule.cs	2017-04-07 13:16:25.978958363 +0200
@@ -290,8 +290,8 @@
 					handler.ResetItemTimeout (context, container.SessionID);
 				}
 				else {
-					handler.ReleaseItemExclusive (context, container.SessionID, storeLockId);
 					handler.RemoveItem (context, container.SessionID, storeLockId, storeData);
+					handler.ReleaseItemExclusive (context, container.SessionID, storeLockId);
 					if (supportsExpiration)
 						// Make sure the expiration handler is not called after we will have raised
 						// the session end event.
openSUSE Build Service is sponsored by