mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-23 16:39:02 +00:00
Implement a proper destructor for ComputerManager to prevent polling threads from living beyond QGuiApplication
This commit is contained in:
@@ -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