修复文件管理对话框崩溃的缺陷
非模态的文件管理对话框在关闭时需要析构,但是这导致2次打开后再关闭时崩溃,该缺陷已修复。
This commit is contained in:
@@ -70,7 +70,11 @@ public:
|
||||
HICON m_hIcon;
|
||||
CStatusBar m_wndStatusBar;
|
||||
CFileManagerDlg(CWnd* pParent = NULL, CIOCPServer* pIOCPServer = NULL, ClientContext *pContext = NULL); // standard constructor
|
||||
|
||||
bool m_bIsClosed;
|
||||
~CFileManagerDlg()
|
||||
{
|
||||
if(m_ProgressCtrl) delete m_ProgressCtrl;
|
||||
}
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CFileManagerDlg)
|
||||
enum { IDD = IDD_FILE };
|
||||
|
||||
Reference in New Issue
Block a user