Skip to content
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

Window does not close after the program quits when executed using include from REPL #67

Open
shg opened this issue Jul 8, 2023 · 2 comments

Comments

@shg
Copy link

shg commented Jul 8, 2023

I am testing this package on macOS.

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
@mpeters2
Copy link
Contributor

mpeters2 commented Dec 6, 2023

It seems to hang at SDL_Quit()

@mpeters2
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants