Improve shared_ptr usage (#2030)

[xray] Improve shared_ptr usage
This commit is contained in:
eric-jj
2018-05-11 20:05:04 -07:00
committed by Philipp Moritz
parent a292d7ba32
commit 71997a481b
26 changed files with 221 additions and 261 deletions
+1 -1
View File
@@ -2036,7 +2036,7 @@ class GlobalStateAPI(unittest.TestCase):
@ray.remote
def f():
return id(ray.worker.global_worker)
return id(ray.worker.global_worker), os.getpid()
# Wait until all of the workers have started.
worker_ids = set()