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
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).
The text was updated successfully, but these errors were encountered:
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).
The text was updated successfully, but these errors were encountered: