No need for the SLEEPFORDEBUGGER thing any more
As the child processes are pre-spawned and just hang around waiting, there is ample time to attach one in a debugger in a controlled debugging scenario anyway.
This commit is contained in:
parent
27a680457e
commit
af3545b897
1 changed files with 0 additions and 7 deletions
|
@ -421,13 +421,6 @@ int LOOLWSD::childMain()
|
|||
exit(1);
|
||||
}
|
||||
|
||||
if (std::getenv("SLEEPFORDEBUGGER"))
|
||||
{
|
||||
std::cout << "Sleeping " << std::getenv("SLEEPFORDEBUGGER") << " seconds, " <<
|
||||
"attach process " << Poco::Process::id() << " in debugger now." << std::endl;
|
||||
Thread::sleep(std::stoul(std::getenv("SLEEPFORDEBUGGER")) * 1000);
|
||||
}
|
||||
|
||||
LibreOfficeKit *loKit(lok_init_2(("/" + loSubPath + "/program").c_str(), "file:///user"));
|
||||
|
||||
if (!loKit)
|
||||
|
|
Loading…
Reference in a new issue