Skip to content

Commit

Permalink
Fix cases
Browse files Browse the repository at this point in the history
  • Loading branch information
wjsi committed Mar 30, 2022
1 parent 1ff69a5 commit 7b7b901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mars/storage/shared_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ async def setup(cls, **kwargs) -> Tuple[Dict, Dict]:
@staticmethod
@implements(StorageBackend.teardown)
async def teardown(**kwargs):
object_ids = kwargs.get("object_ids")
object_ids = kwargs.get("object_ids") or ()
for object_id in object_ids:
try:
shm = SharedMemory(name=object_id)
Expand Down

0 comments on commit 7b7b901

Please sign in to comment.