|
|
@@ -98,6 +98,13 @@ protected:
|
|
|
check_for_changes_thread.start(_check_for_changes_poll_thread, this);
|
|
|
}
|
|
|
|
|
|
+ void _stop_remote_device_poller_thread() {
|
|
|
+ quit_request.set();
|
|
|
+ if (check_for_changes_thread.is_started()) {
|
|
|
+ check_for_changes_thread.wait_to_finish();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
int _execute(const String &p_path, const List<String> &p_arguments, std::function<void(const String &)> p_on_data);
|
|
|
|
|
|
private:
|