forked from M-Labs/artiq
coredevice: fix socket resource leak
This commit is contained in:
parent
bea7a47349
commit
ab493a860d
@ -86,6 +86,9 @@ class Core:
|
||||
self.core = self
|
||||
self.comm.core = self
|
||||
|
||||
def close(self):
|
||||
self.comm.close()
|
||||
|
||||
def compile(self, function, args, kwargs, set_result=None,
|
||||
attribute_writeback=True, print_as_rpc=True):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user