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

Function disconnectFromRemote

src/CardinalRemote.cpp:142–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void disconnectFromRemote(RemoteDetails* const remote)
143{
144 if (remote != nullptr)
145 {
146 #ifdef HAVE_LIBLO
147 lo_server_free(static_cast<lo_server>(remote->handle));
148 #endif
149 std::free(const_cast<char*>(remote->url));
150 delete remote;
151 }
152}
153
154void idleRemote(RemoteDetails* const remote)
155{

Callers 2

connectToRemoteFunction · 0.70
~CardinalBaseUIFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected