mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Issue #11 Improve CEventLoop API
This commit is contained in:
@@ -152,7 +152,8 @@ namespace BlackCore::Db
|
||||
{
|
||||
// just give the system some time to relax, consolidation is time consuming
|
||||
if (!this->doWorkCheck()) { return; }
|
||||
CEventLoop::processEventsFor(1000);
|
||||
CEventLoop eventLoop;
|
||||
eventLoop.exec(1000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user