Skip to content

Polling thread could be better #23

@r2dliu

Description

@r2dliu
void SlippiUser::FileListenThread()
{
  while (runThread)
  {
    if (AttemptLogin())
    {
      runThread = false;
      break;
    }

    Common::SleepCurrentThread(500);
  }
}

:(

much cleaner to do
https://doc.qt.io/qt-5/qfilesystemwatcher.html

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions