Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问一下有没有方法取消管道操作 #502

Open
shennwei opened this issue Jan 15, 2024 · 4 comments
Open

请问一下有没有方法取消管道操作 #502

shennwei opened this issue Jan 15, 2024 · 4 comments

Comments

@shennwei
Copy link

你好,我开启了一个管道并进行了一系列操作,如果最后不想提交这些操作,是需要调用方法取消这个管道操作,还是只要不调用EndPipe方法就行了

@2881099
Copy link
Owner

2881099 commented Jan 15, 2024

只要不调用EndPipe方法就行了

@shennwei
Copy link
Author

我看dispose方法也会调用EndPipe,这个会有问题吗
image

@shennwei
Copy link
Author

shennwei commented Jan 16, 2024

简单测试了一下,不调用EndPipe,创建了50个pipe之后就报错了,调用的话不会报错
image

@2881099
Copy link
Owner

2881099 commented Jan 16, 2024

using (var pipe = xxx.StartPipe())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants