MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ ~SerialDevice()

MayaFlux::Core::SerialDevice::~SerialDevice ( )

Definition at line 20 of file SerialDevice.cpp.

21{
22 m_link->close();
23 if (const auto dropped = take_pending()) {
24 if (const auto token = dropped->timer.exchange(0); token != 0) {
25 m_link->cancel_post(token);
26 }
27 }
28}
std::shared_ptr< Pending > take_pending(const std::shared_ptr< Pending > &only={})
std::unique_ptr< ISerialLink > m_link

References m_link, and take_pending().

Here is the call graph for this function: