mirror of
https://github.com/HEYAHONG/SimpleBLETool.git
synced 2025-05-08 13:43:41 +08:00
完善代码
This commit is contained in:
parent
8781e2166e
commit
d5d08f4943
@ -96,7 +96,15 @@ private:
|
||||
if(cb!=NULL)
|
||||
{
|
||||
UpdateUI.lock.unlock();
|
||||
cb();
|
||||
try
|
||||
{
|
||||
cb();
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
//wxLogMessage(_T("内部错误:更新UI出错!!!"));
|
||||
}
|
||||
|
||||
UpdateUI.lock.lock();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user