使用的indy版本9.00.10
使用控件idhttp,利用fastMM发现内存泄漏
在IdComponent.pas最后发现这么一段话initialization
GStackCriticalSection := TCriticalSection.Create;
finalization
// Dont Free. If shutdown is from another Init section, it can cause GPF when stack
// tries to access it. App will kill it off anyways, so just let it leak
// FreeAndNil(GStackCriticalSection);
end.该怎么解决?
使用控件idhttp,利用fastMM发现内存泄漏
在IdComponent.pas最后发现这么一段话initialization
GStackCriticalSection := TCriticalSection.Create;
finalization
// Dont Free. If shutdown is from another Init section, it can cause GPF when stack
// tries to access it. App will kill it off anyways, so just let it leak
// FreeAndNil(GStackCriticalSection);
end.该怎么解决?
http://topic.csdn.net/t/20060802/14/4921798.html