Avoid token checking type mismatches

cached_feeds
Tyler Goodlet 2021-04-10 14:11:02 -04:00
parent fa7fadebac
commit 598aec579f
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ def attach_shm_array(
key = token.shm_name key = token.shm_name
if key in _known_tokens: if key in _known_tokens:
assert _known_tokens[key] == token, "WTF" assert _Token.from_msg(_known_tokens[key]) == token, "WTF"
# attach to array buffer and view as per dtype # attach to array buffer and view as per dtype
shm = SharedMemory(name=key) shm = SharedMemory(name=key)