We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea737b4 commit 958d20cCopy full SHA for 958d20c
1 file changed
dimos/core/__init__.py
@@ -177,7 +177,7 @@ def close_all() -> None:
177
from dimos.protocol.pubsub import shmpubsub
178
179
for obj in gc.get_objects():
180
- if isinstance(obj, shmpubsub.SharedMemory | shmpubsub.PickleSharedMemory):
+ if isinstance(obj, shmpubsub.SharedMemoryPubSubBase):
181
try:
182
obj.stop()
183
except Exception:
0 commit comments