예제 #1
0
파일: main.cpp 프로젝트: skydave/composer
 ~RemoteApplication()
 {
     if(m_listeningThread)
     {
         m_listeningThread->join();
         delete m_listeningThread;
         m_listeningThread = 0;
     }
 }
예제 #2
0
    ~Connection()
    {
        mysock->Close();
        myThread->join();

        CoreSuspender suspend;
        color_ostream_proxy out(Core::getInstance().getConsole());
        onDisconnect(out,myId);

        delete mysock;
        delete myThread;
    }