diff --git a/gateway.py b/gateway.py index 94de6c2..bbe03f3 100644 --- a/gateway.py +++ b/gateway.py @@ -381,6 +381,11 @@ class Gateway(): #=============================================================================== def free_memcfg(self): if self.memcfg: + if os.name != "nt": + try: + self.memcfg.unlink() + except Exception: + pass try: self.memcfg.close() # https://docs.python.org/3/library/multiprocessing.shared_memory.html except Exception: