On 12/05/2012 03:17 AM, anevilyak@xxxxxxxxx wrote:
860c710: Add some additional BReferenceable debugging. - When libbe is built in debug mode, BReferenceable now issues a debugger call if it's destroyed without all references having been released.
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.