cwIo.cpp : Added missing destroy(p->cbMutexH) in _free(). Call ui::flushCache() in exec().
This commit is contained in:
parent
cac3b1752d
commit
64d8c8e5b0
5
cwIo.cpp
5
cwIo.cpp
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user