浏览代码

fix subscription issue on OnError and OnDone

/main
Xingwei Zhu 3 年前
当前提交
ccc91730
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 6
      com.unity.uiwidgets/Runtime/async/stream_impl.cs

6
com.unity.uiwidgets/Runtime/async/stream_impl.cs


public override void onError(Action<object, string> handleError) {
handleError = handleError ?? ((input1, input2) => _stream._nullErrorHandler(null));
_onError = (_, __) => _zone
_onError = (arg1, arg2) => _zone
});
}).Invoke(arg1, arg2);
}
public override void onDone(Action handleDone) {

return null;
});
}).Invoke();
}
public override void pause(Future resumeSignal) {

正在加载...
取消
保存