mirror of https://github.com/m-labs/artiq.git
coredevice: fix socket resource leak
This commit is contained in:
parent
bea7a47349
commit
ab493a860d
|
@ -86,6 +86,9 @@ class Core:
|
||||||
self.core = self
|
self.core = self
|
||||||
self.comm.core = self
|
self.comm.core = self
|
||||||
|
|
||||||
|
def close(self):
|
||||||
|
self.comm.close()
|
||||||
|
|
||||||
def compile(self, function, args, kwargs, set_result=None,
|
def compile(self, function, args, kwargs, set_result=None,
|
||||||
attribute_writeback=True, print_as_rpc=True):
|
attribute_writeback=True, print_as_rpc=True):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue