Remove object id translation (#6531)

This commit is contained in:
Edward Oakes
2019-12-19 12:47:49 -08:00
committed by Eric Liang
parent 7b955881f3
commit 41fa2e9604
17 changed files with 81 additions and 93 deletions
+2
View File
@@ -92,5 +92,7 @@ def get_async(object_id):
inner_future.add_done_callback(done_callback)
# A hack to keep reference to inner_future so it doesn't get GC.
user_future.inner_future = inner_future
# A hack to keep a reference to the object ID for ref counting.
user_future.object_id = object_id
return user_future