nyxt
nyxt copied to clipboard
Dangling `windows` when starting Nyxt from REPL multiple times
Commit 30c91a5be (in the context of PR #2666) introduces a bug.
Steps to reproduce:
-
(asdf:load-system "nyxt/gi-gtk")
-
(nyxt:start :failsafe t)
- notice that a single Nyxt window exists
-
(nyxt:quit)
- notice that no Nyxt windows exist
-
(nyxt:start :failsafe t)
- notice that 2 Nyxt windows exist
@Ambrevar could you please fix it?
I can't reproduce on 27ef18ae8349916be51a093952195ddf23545c10. Can you @aadcg?
Yes. Are you on EXWM? Are you double checking all of the existing EXWM buffers by calling ibuffer
in Emacs?
I could reproduce now, it seems that the bug does not always happen, there is a race condition.
Oh, I see. I guess my machine is less powerful than yours, since I always get this bug.
PR #2730 didn't fix this issue on my end.
@aartaka can you reproduce this bug?
@aartaka can you reproduce this bug?
Oh wait, I can! Using :failsafe t
seems to indeed spawn additional windows 0_o
Could you investigate? Hard for me to reproduce, so it's probably a race condition and something to do with class update.