Merge branch 'master' of gitea.larke.org:kevin/libcw

This commit is contained in:
kevin 2024-02-25 16:20:28 -05:00
commit a052f2623c

View File

@ -3647,17 +3647,17 @@ cw::rc_t cw::preset_sel_app::main( const object_t* cfg, int argc, const char* ar
// execute the io framework // execute the io framework
while( !io::isShuttingDown(app.ioH)) while( !io::isShuttingDown(app.ioH))
{ {
time::spec_t t0; //time::spec_t t0;
time::get(t0); //time::get(t0);
// This call may block on the websocket handle. // This call may block on the websocket handle.
io::exec(app.ioH); io::exec(app.ioH);
unsigned dMs = time::elapsedMs(t0); //unsigned dMs = time::elapsedMs(t0);
if( dMs < 50 && app.psNextFrag == nullptr ) //if( dMs < 50 && app.psNextFrag == nullptr )
{ //{
sleepMs( 50-dMs ); // sleepMs( 50-dMs );
} //}
} }