8000 python backend needs a proxy object · Issue #12 · gfxprim/gfxprim · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

python backend needs a proxy object #12

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

Open
metan-ucw opened this issue Nov 13, 2013 · 0 comments 7EF9
Open

python backend needs a proxy object #12

metan-ucw opened this issue Nov 13, 2013 · 0 comments
Assignees
Labels

Comments

@metan-ucw
Copy link
Member

When creating multiple windows in python using X11 Backend you end up with multiple backend objects. The problem comes when you need to close one of them, if you call just BackendExit() wrapper, the program will crash when backend destructor is called, because the underlying Backend structure was freed already. What we need is a proxy class that will hold reference to the backend and will continue to exist even when Backend is freed (and will throw an exception in this case).

@ghost ghost assigned metan-ucw Nov 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant
0