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

System.AccessViolationException in QBoxLayout destructor #80

Open
TripleWhy opened this issue Sep 10, 2018 · 1 comment
Open

System.AccessViolationException in QBoxLayout destructor #80

TripleWhy opened this issue Sep 10, 2018 · 1 comment

Comments

@TripleWhy
Copy link

Consider the following code:

var vbox = new QVBoxLayout();
var hbox = new QHBoxLayout();
vbox.AddLayout(hbox);
vbox.Dispose(); // System.AccessViolationException

Tested with the official QtSharp-0.7.4 release with Qt-5.9.2-MinGW. The equivalent code in C++ runs just fine.

@ddobrev
Copy link
Owner

ddobrev commented Sep 19, 2018

@TripleWhy thank you for your sample. I'll try it and see if I get the crash myself.

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