Properly manage the lifetime of polling in the AppView and PcView

This commit is contained in:
Cameron Gutman
2018-07-08 22:07:20 -07:00
parent 83ca211d75
commit a47f59d1a4
4 changed files with 33 additions and 22 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ private:
void startPollingComputer(NvComputer* computer);
bool m_Polling;
int m_PollingRef;
QReadWriteLock m_Lock;
QMap<QString, NvComputer*> m_KnownHosts;
QMap<QString, QThread*> m_PollThreads;