You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is executed by the Swing Thread.
Hence the Swing thread is waiting for the instruction to return.
Which in turn is waiting for the Swing Thread to close the popup.
Possible fix
Wrapping it in a new Thread seems to work. I have not thought about possible side-effects this causes though
#92 introduced an issue where the IDE seems to deadlock itself when opening Swing UI while running code from the editor.
Steps to reproduce
"test" .U
in the Editor WindowResults in:

Probable cause:
https://github.com/aya-lang/aya/blob/3ab481f2eb3d14aac7d9a154db3c44a9bff12cf6/src/ui/EditorWindow.java#L224C4-L224C50
This is executed by the Swing Thread.
Hence the Swing thread is waiting for the instruction to return.
Which in turn is waiting for the Swing Thread to close the popup.
Possible fix
Wrapping it in a new Thread seems to work.
I have not thought about possible side-effects this causes though
The text was updated successfully, but these errors were encountered: