-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyMemoryStream析构函数 #1580
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
master分支中
kbengine\kbe\src\lib\pyscript\py_memorystream.cpp中
构造PyMemoryStream
执行script::PyGC::incTracing("MemoryStream");
析构PyMemoryStream
没有调用script::PyGC::decTracing("MemoryStream");
PyMemoryStream::~PyMemoryStream()
{
}
使用KBEngine.debugTracing()
会一直显示
PyGC::debugTracing(): MemoryStream : 增加
疑问,是否可以添加script::PyGC::decTracing("MemoryStream");如下面所示
PyMemoryStream::~PyMemoryStream()
{
script::PyGC::decTracing("MemoryStream");
}
The text was updated successfully, but these errors were encountered: