MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / OnClean

Method OnClean

Plugins/LibVNCServer/Client/BackendLibVNCServer.cpp:273–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273int CBackendLibVNCServer::OnClean()
274{
275 qDebug(log) << "CConnectLibVNCServer::OnClean()";
276#ifdef HAVE_LIBSSH
277 if(m_pThread)
278 {
279 disconnect(m_pThread);
280 m_pThread->Exit();
281 m_pThread = nullptr;
282 }
283#endif
284 if(m_pClient)
285 {
286 //m_tcpSocket.close();
287 rfbClientCleanup(m_pClient);
288 m_pClient = nullptr;
289 }
290 return 0;
291}
292
293/*!
294 * \~chinese 插件连接的具体操作处理。因为此插件是非Qt事件,所以在此函数中等待。

Callers

nothing calls this directly

Calls 1

ExitMethod · 0.80

Tested by

no test coverage detected