cwIo.cpp : Added missing destroy(p->cbMutexH) in _free(). Call ui::flushCache() in exec().
This commit is contained in:
parent
cac3b1752d
commit
64d8c8e5b0
9
cwIo.cpp
9
cwIo.cpp
@ -2146,6 +2146,8 @@ namespace cw
|
|||||||
mem::release(p->timerA);
|
mem::release(p->timerA);
|
||||||
p->timerN = 0;
|
p->timerN = 0;
|
||||||
|
|
||||||
|
destroy(p->cbMutexH);
|
||||||
|
|
||||||
_serialPortDestroy(p);
|
_serialPortDestroy(p);
|
||||||
|
|
||||||
_audioDestroy(p);
|
_audioDestroy(p);
|
||||||
@ -2345,9 +2347,12 @@ cw::rc_t cw::io::exec( handle_t h, void* execCbArg )
|
|||||||
rc_t rc = kOkRC;
|
rc_t rc = kOkRC;
|
||||||
io_t* p = _handleToPtr(h);
|
io_t* p = _handleToPtr(h);
|
||||||
|
|
||||||
if( p->wsUiH.isValid() )
|
if( p->wsUiH.isValid() )
|
||||||
|
{
|
||||||
|
ui::flushCache( ui::ws::uiHandle( p->wsUiH ));
|
||||||
rc = ui::ws::exec( p->wsUiH );
|
rc = ui::ws::exec( p->wsUiH );
|
||||||
|
}
|
||||||
|
|
||||||
time::get(p->t0);
|
time::get(p->t0);
|
||||||
|
|
||||||
if( p->audioMeterDevEnabledN )
|
if( p->audioMeterDevEnabledN )
|
||||||
|
Loading…
Reference in New Issue
Block a user