mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
Implement a proper destructor for ComputerManager to prevent polling threads from living beyond QGuiApplication
This commit is contained in:
1 parent
06501bd4b7
commit
5ee1358712
2 files changed
+52
No files matched your search
@@ -249,6 +249,8 @@ class ComputerManager : public QObject
|
||||
public:
|
||||
explicit ComputerManager(QObject *parent = nullptr);
|
||||
|
||||
virtual ~ComputerManager();
|
||||
|
||||
Q_INVOKABLE void startPolling();
|
||||
|
||||
Q_INVOKABLE void stopPollingAsync();
|
||||
|
||||
Reference in new issue
Block a user