             
             $0(state, mutation, proxy.submit)
         }
+        
+        //---
+        
+        removeMiddlewareIfNeeded(mutation)
         
         //---
         

    
    //===
    
    func syncMiddleware(_ mutation: GlobalMutationExt)
    {
        let mutationType = type(of: mutation)
        let key = mutationType.feature.name
        
        switch mutationType.kind
        {
            case .addition:
                middleware[key] = mutationType.feature.middleware
            
            case .update:
                break
            
            case .removal:
                middleware[key] = nil
        }
    }
}

        
        //---
        
        addMiddlewareIfNeeded(mutation)
        
        //---
        
