# OwnedArray - ContainerDeletePolicy error

**URL:** <https://forum.juce.com/t/ownedarray-containerdeletepolicy-error/47159>\
**Category:** General JUCE discussion\
**Created:** [August 1, 2021, 11:13pm UTC](https://forum.juce.com/t/ownedarray-containerdeletepolicy-error/47159 "2021-08-01T23:13:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![kamedin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/kamedin/32/11711_2.png) [@kamedin](https://forum.juce.com/u/kamedin)\
**Post date:** [August 2, 2021, 1:42am UTC](https://forum.juce.com/t/ownedarray-containerdeletepolicy-error/47159/4 "2021-08-02T01:42:35Z")

</div>

I’m not on OSX, but if you’re catching the error in Xcode you should be able to see the type of `this`, which should include that.

> [@pajczur](#):
>
> every time I finish debugging just by click “stop” in my compiler (xCode) so there was no problem.
> 
> But last time I’ve just closed my application normally by clicking on OSX the command-Q. And suddenly I’ve found out I get some error.

Ok let’s stop here though. The code you quoted should trigger _a compiler error_, not a runtime one. Your program is running, so this is not the error you’re getting. Find out what is really the error you’re getting in the first place.

---

_[View the full topic](https://forum.juce.com/t/ownedarray-containerdeletepolicy-error/47159)._
