sqle icon indicating copy to clipboard operation
sqle copied to clipboard

智能扫描:代码存在 channel 阻塞问题

Open jessun opened this issue 2 years ago • 0 comments

SQLe Version 476ce9745090a7a54ce92558e02232f77eb13d0f

Describe the bug image 在取消cancel的地方,使用的方式是传值。但是在该cancel消费的地方可能有两处。因此其中有一处可能会产生阻塞,没有产生取消的效果。

To Reproduce TODO

Expected behavior TODO

Suggestion cancel定义的目的是作为在loop中作为信号来使用,并非作为广播来使用。因此在具体的扫描任务中代码实现中,不应该读取cancel

jessun avatar May 06 '23 07:05 jessun