2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-18 16:06:30 +08:00

coredevice: fix socket resource leak

This commit is contained in:
Sebastien Bourdeauducq 2017-06-05 15:45:40 +08:00
parent bea7a47349
commit ab493a860d

View File

@ -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: