Re: [Development] [Qt-5.6] leak of QtSharedPointer::ExternalRefCountData objects

2015-11-15 Thread Liang Jian
After some further investigation I can now confirm that one of the leak is caused by the following code in QQmlObjectCreator::createInstance(), qqmlobjectcreator.cpp: *sharedState->allJavaScriptObjects = QV4::QObjectWrapper::wrap(v4, instance); ++sharedState->allJavaScriptObjects;

[Development] [Qt-5.6] leak of QtSharedPointer::ExternalRefCountData objects

2015-11-15 Thread Liang Jian
Hello everyone, I checkout qt 5.6 branch yesterday in my windows 10 x64 machine, I build it and run my program and see many leaks. Then I use C++ Memory Validator to find the source of the leaks, I can now confirm the leaked objects are QtSharedPointer::ExternalRefCountData which are created