Explorar o código

Handling subscription arguments after result subscription

almahmoud %!s(int64=7) %!d(string=hai) anos
pai
achega
9ca0f9250b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      cloudbridge/cloud/base/provider.py

+ 2 - 0
cloudbridge/cloud/base/provider.py

@@ -193,6 +193,8 @@ class EventHandler(object):
                 if new_result:
                     result = new_result
             elif next.handler_type == HandlerType.SUBSCRIPTION:
+                if args.get('callback_result'):
+                    args.pop('callback_result')
                 new_result = next.invoke(args)
                 if new_result:
                     result = new_result