I can run the sample program basic.jl by include("basic.jl") and it works, but I cannot close the window at the end.
When I click the close button of the window or hit Command-Q, the program ends and REPL returns to the julia> prompt. But the window titled "Game" remains open, and the beach ball mouse cursor is rotating on the window.
Is this expected behavior?
julia> versioninfo()
Julia Version 1.9.2
Commit e4ee485e909 (2023-07-05 09:39 UTC)
Platform Info:
OS: macOS (arm64-apple-darwin22.4.0)
CPU: 10 × Apple M1 Max
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-14.0.6 (ORCJIT, apple-m1)
Threads: 4 on 8 virtual cores
When I run it in the REPL in VSCode, a print statement after SDL_Quit() prints, but then it hangs after that. Interestingly, if I run it in the debugger, it quits successfully.
I am testing this package on macOS.
I can run the sample program
basic.jl
byinclude("basic.jl")
and it works, but I cannot close the window at the end.When I click the close button of the window or hit Command-Q, the program ends and REPL returns to the
julia>
prompt. But the window titled "Game" remains open, and the beach ball mouse cursor is rotating on the window.Is this expected behavior?