QtSharp icon indicating copy to clipboard operation
QtSharp copied to clipboard

System.AccessViolationException in QBoxLayout destructor

Open TripleWhy opened this issue 7 years ago • 1 comments

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.

TripleWhy avatar Sep 10 '18 15:09 TripleWhy

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

ddobrev avatar Sep 19 '18 00:09 ddobrev