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

Demo cairo clock needs little modification, why? #71

Open
bigos opened this issue Aug 14, 2019 · 2 comments
Open

Demo cairo clock needs little modification, why? #71

bigos opened this issue Aug 14, 2019 · 2 comments

Comments

@bigos
Copy link

bigos commented Aug 14, 2019

https://github.com/bigos/execnik/blob/4ad4b38433bb80d39e03077a25954f554ad3f487/execnik.lisp#L93

I had to comment out the above to make your example work.

I wonder why. I had similar issue in another experiment where I blindly followed C example. Is it possible that Lisp garbage collection also destroys it?

@Ferada
Copy link

Ferada commented Aug 14, 2019

Yes. That's not really related to Lisp GC, it simply should not be destroyed since it's still in use in the widget that's being drawn on, though the documentation doesn't explicitly say that I suppose.

@stacksmith
Copy link

Funny: I did the same exact thing yesterday...

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

3 participants