MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / stopRemoteServer

Method stopRemoteServer

src/CardinalCommon.cpp:823–844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

821}
822
823void Initializer::stopRemoteServer()
824{
825 DISTRHO_SAFE_ASSERT(remotePluginInstance == nullptr);
826
827 #ifdef CARDINAL_INIT_OSC_THREAD
828 if (oscServerThread != nullptr)
829 {
830 lo_server_thread_stop(oscServerThread);
831 lo_server_thread_del_method(oscServerThread, nullptr, nullptr);
832 lo_server_thread_free(oscServerThread);
833 oscServerThread = nullptr;
834 oscServer = nullptr;
835 }
836 #else
837 if (oscServer != nullptr)
838 {
839 lo_server_del_method(oscServer, nullptr, nullptr);
840 lo_server_free(oscServer);
841 oscServer = nullptr;
842 }
843 #endif
844}
845
846void Initializer::stepRemoteServer()
847{

Callers 1

stopRemoteServerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected