MCPcopy Create free account
hub / github.com/cxasm/notepad-- / deleteTailFileThread

Method deleteTailFileThread

src/scintillaeditview.cpp:4293–4310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4291
4292#ifdef Q_OS_WIN
4293void ScintillaEditView::deleteTailFileThread()
4294{
4295 if (m_isInTailStatus)
4296 {
4297 m_isInTailStatus = false;
4298
4299 qlonglong threadAddr = this->property(Tail_Thread).toLongLong();
4300
4301 std::thread* pListenThread = (std::thread*)(threadAddr);
4302
4303 if (pListenThread->joinable())
4304 {
4305 pListenThread->join();
4306 }
4307
4308 delete pListenThread;
4309 }
4310}
4311#endif
4312
4313//显示markdown编辑器

Callers 2

tabCloseMethod · 0.80
tailfileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected