fix mtp install (again) due to the next transfer trying to start before the previous one had finished.

This commit is contained in:
ITotalJustice
2025-06-17 11:23:45 +01:00
parent c5e3373fe1
commit 7730eacea8
2 changed files with 41 additions and 4 deletions

View File

@@ -34,8 +34,10 @@ private:
fs::FsPath m_path{};
std::stop_token m_token{};
std::vector<u8> m_buffer{};
Mutex m_mutex{};
CondVar m_can_read{};
public:
Mutex m_mutex{};
bool m_active{};
};