DevMgr: Call uniq_ptr.release on DeviceReattacher

This commit is contained in:
2025-10-01 10:19:08 -04:00
parent 80004ab1e7
commit 1e22656299
+4 -3
View File
@@ -817,9 +817,10 @@ void DeviceManager::initializeDeviceReattacher()
void DeviceManager::finalizeDeviceReattacher()
{
if (deviceReattacher) {
deviceReattacher->stop();
}
if (!deviceReattacher) { return; }
deviceReattacher->stop();
deviceReattacher.reset();
}
} // namespace device