-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Not-Bug] 程序进程阻塞 #11
Comments
这个问题比较奇怪,所有消息的处理应该都是异步的,不会阻塞。得仔细研究下 |
的确奇怪,我也觉得不应该发生啊。我的机器人现在在10几个群里面,沙雕群友发沙雕图一发发一堆,我也不知道是哪一张出的问题。所以重现bug有些难( |
我这边100多个群的qq挂了一周了还没遇到过这个问题... |
我发现这个问题怎么出现的了。。 |
我晚点写个mock测试下. 比较奇怪emmm |
恩?奇怪啊,现在又不阻塞了……会不会是我本地网络的问题……我再盯一会儿看看 |
我觉得跟图片没关系。windows 上开的控制台窗口可能会因为鼠标点击而阻塞掉进程,在按下其他按键之后恢复,与你描述的情况比较像,你看看是不是因为你误触导致的这个问题? |
应该没有吧……我印象中启动了进程没有碰过控制台窗口啊 |
不过Shigma@ 说的也有可能 |
正在尝试解决方式中:
|
看起来的确是Windows系统下误触控制台窗口产生的阻塞。 感谢Shigma@ 给的debug思路
目前发现的解决方法:
|
在使用的时候有些图片接受后会卡住整个程序(表现形式为不在接受并处理新的群/好友消息),之后必须在控制台中进行键盘操作才能继续接收新的信息(比如ctrl+z)。
使用config:
The text was updated successfully, but these errors were encountered: