修复重复初始化UI界面时,对象属性失效导致的崩溃-汉王反馈
This commit is contained in:
parent
64465395c3
commit
d06962cb88
|
@ -32,6 +32,7 @@ dlg_base::~dlg_base()
|
|||
{
|
||||
if (IsWindow(hwnd_))
|
||||
{
|
||||
SetPropW(hwnd_, dlg_base::prop_name.c_str(), NULL);
|
||||
//if (GetCurrentThreadId() == GetWindowThreadProcessId(hwnd_, NULL))
|
||||
DestroyWindow(hwnd_);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue