mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
In rare situations we would get tracebacks from list_cursor on the line that I changed here. We went the entire month of May without a traceback here, and I can't reproduce the problem. This is a pretty clear fix, though, and it will hopefully lead to a more enlightening symptom. The likely scenario here is that you use `q` to navigate the stream list and then unsubscribe. I tested that and couldn't get a traceback, but I do think the traceback indicates some possible issues. The behavior I saw when I did this appeared to be mostly harmless. When I deleted a row (by unsubscribing), the code seemed to effectively disable the cursor. It's possible we should go to the next row or fully disable the search. I opened #15439 to follow up on this and other cursor-related issues.
3.8 KiB
3.8 KiB