lib/graphql/batch/loader.rb in graphql-batch-0.3.3 vs lib/graphql/batch/loader.rb in graphql-batch-0.3.4
- old
+ new
@@ -56,9 +56,10 @@
end
# For Promise#sync
def wait #:nodoc:
if executor
+ executor.loaders.delete(loader_key)
executor.resolve(self)
else
resolve
end
end