In the latest juce, I’m getting crashes as shut down. When the destructor chain gets to deleting:
MyDocWindow > DocumentWindow > ResizeableWindow and it tries to set the resizableBorder member to 0, I get a crash in the ScopedPointer assignment method. It seems like the border component isn’t real? Can’t see why it would have already been deleted, or why it would be uninitialized, but there it is.
I would say a random memory corruption, but it seems consistent? Every time the ‘old’ resizeable component is deleted.
The only things I’m changing that seem related are:
[code] setResizable(true, false);
setResizeLimits (768, 480, 2560, 1200);
setUsingNativeTitleBar(true);
[/code]
The only child is a component I added with setContentComponent, and have left for the window to erase.
Testing on Mac, latest xcode (3.2.5?).
Bruce