Am 05/12/2012 15:03, schrieb Rene Gollent:
On Wed, Dec 5, 2012 at 8:47 AM, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:This disallows to create objects of BReferenceable derived classes on the stack for which I don't see a reason. Maybe make the check more intelligent to detect whether the object is on the stack? Checking whether the object pointer is within a certain range of a local stack variable should usually work, making getting a thread info unnecessary in most cases.That'd certainly be a possibility, I'll play around with that a bit.
I'd still drop into the debugger, though, if more than one reference persists :-)
Bye, Axel.