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