B
blackbeam
Unregistered / Unconfirmed
GUEST, unregistred user!
我的对象代码如下:
MyObject = Class(TObject)
....
mobject:=MyObject.Create();
....
mobject.Destroy;//执行后mobject不为nil
怎样才能完全释放内存?构造函数和析构函数怎么写才最正确?
MyObject = Class(TObject)
....
mobject:=MyObject.Create();
....
mobject.Destroy;//执行后mobject不为nil
怎样才能完全释放内存?构造函数和析构函数怎么写才最正确?