MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / disconnectAllDevices

Method disconnectAllDevices

app/src/IO/ConnectionManager.cpp:859–863  ·  view source on GitHub ↗

* @brief Disconnects every registered device. */

Source from the content-addressed store, hash-verified

857 * @brief Disconnects every registered device.
858 */
859void IO::ConnectionManager::disconnectAllDevices()
860{
861 for (auto& [id, dm] : m_devices)
862 disconnectDevice(id);
863}
864
865/**
866 * @brief Destroys the device managers and UI drivers. main() calls this after the QML

Callers 1

onQuitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected