cwIo.cpp : Added missing destroy(p->cbMutexH) in _free(). Call ui::flushCache() in exec().

This commit is contained in:
kevin 2023-05-25 16:00:11 -04:00
parent cac3b1752d
commit 64d8c8e5b0

View File

@ -2146,6 +2146,8 @@ namespace cw
mem::release(p->timerA);
p->timerN = 0;
destroy(p->cbMutexH);
_serialPortDestroy(p);
_audioDestroy(p);
@ -2346,7 +2348,10 @@ cw::rc_t cw::io::exec( handle_t h, void* execCbArg )
io_t* p = _handleToPtr(h);
if( p->wsUiH.isValid() )
{
ui::flushCache( ui::ws::uiHandle( p->wsUiH ));
rc = ui::ws::exec( p->wsUiH );
}
time::get(p->t0);