MCPcopy Create free account
hub / github.com/baldurk/renderdoc / ~RGPInterop

Method ~RGPInterop

qrenderdoc/Code/RGPInterop.cpp:143–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143RGPInterop::~RGPInterop()
144{
145 RGPInteropTerminate terminate;
146 QString encoded = EncodeCommand(RGPCommand::Terminate, terminate.toParams(m_Version));
147
148 if(m_Socket)
149 {
150 m_Socket->write(encoded.trimmed().toUtf8().data());
151 m_Socket->waitForBytesWritten();
152 }
153
154 m_Server->close();
155 delete m_Server;
156}
157
158void RGPInterop::InitializeRGP()
159{

Callers

nothing calls this directly

Calls 6

toUtf8Method · 0.80
trimmedMethod · 0.80
toParamsMethod · 0.45
writeMethod · 0.45
dataMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected