MCPcopy Create free account
hub / github.com/Atarity/Lightpack / free

Method free

Software/src/LightpackApplication.cpp:722–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

720}
721
722void LightpackApplication::free()
723{
724 DEBUG_LOW_LEVEL << Q_FUNC_INFO;
725
726 m_moodlampManager->start(false);
727 m_grabManager->start(false);
728 m_pluginManager->StopPlugins();
729
730 QApplication::processEvents(QEventLoop::AllEvents, 1000);
731
732 delete m_pluginManager;
733 delete m_moodlampManager;
734 delete m_grabManager;
735 delete m_ledDeviceManager;
736
737 m_pluginManager = NULL;
738 m_moodlampManager = NULL;
739 m_grabManager = NULL;
740 m_ledDeviceManager = NULL;
741
742 QApplication::processEvents(QEventLoop::AllEvents, 1000);
743}

Calls 2

StopPluginsMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected