We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c25e282 commit 9237cfcCopy full SHA for 9237cfc
1 file changed
python/AsyncProxy.py
@@ -111,11 +111,11 @@ def __init__(self, args:asyncproxy_ctor_args):
111
raise Exception('asyncproxy_ctor() failed')
112
self.__asp = _asp
113
if self.in2out is not None:
114
- in2out = _asp_data_cb(self.in2out)
115
- self.__asp.asyncproxy_set_i2o(self._hndl, in2out)
+ self._in2out_cb = _asp_data_cb(self.in2out)
+ self.__asp.asyncproxy_set_i2o(self._hndl, self._in2out_cb)
116
if self.out2in is not None:
117
- out2in = _asp_data_cb(self.out2in)
118
- self.__asp.asyncproxy_set_o2i(self._hndl, out2in)
+ self._out2in_cb = _asp_data_cb(self.out2in)
+ self.__asp.asyncproxy_set_o2i(self._hndl, self._out2in_cb)
119
120
def start(self):
121
if int(self.__asp.asyncproxy_start(self._hndl)) != 0:
0 commit comments