mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
ide: Fixed problem with background process
This commit is contained in:
parent
8b1f536ad6
commit
03f357ef3a
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ void ForAllNests(Event<const Vector<String>&> fn)
|
|||
|
||||
void GatherAllFiles(const String& path, Index<String>& filei, VectorMap<String, String>& file)
|
||||
{
|
||||
if(path.GetCount() == 0)
|
||||
return;
|
||||
Sleep(0); // This is supposed to be superlazy
|
||||
for(FindFile ff(path + "/*.*"); ff && !Thread::IsShutdownThreads(); ff.Next())
|
||||
if(ff.IsFolder() && *ff.GetName() != '.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue