|
@@ -694,7 +694,7 @@ namespace Chromium {
|
|
|
|
|
|
//all the init,register,openWeb run thread
|
|
|
auto startFun = [&]() {
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("create thread:%s", __FUNCTION__);
|
|
|
+ //DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("create thread:%s", __FUNCTION__);
|
|
|
DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("OnPreStart - startFun");
|
|
|
// init cef logger first
|
|
|
#if (defined _WIN32 || defined _WIN64)
|
|
@@ -840,7 +840,7 @@ namespace Chromium {
|
|
|
|
|
|
void CChromiumEntity::DoWithSysVarEvent()
|
|
|
{
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("create thread:%s", __FUNCTION__);
|
|
|
+ //DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("create thread:%s", __FUNCTION__);
|
|
|
while (true)
|
|
|
{
|
|
|
if (m_eventArr.size() == 0)
|
|
@@ -1132,7 +1132,7 @@ namespace Chromium {
|
|
|
tmpDirArr.get()->push_back(it);
|
|
|
|
|
|
auto runCacheClean = [](std::shared_ptr<std::vector<std::string>> p) ->void {
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("create thread:%s", __FUNCTION__);
|
|
|
+ //DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("create thread:%s", __FUNCTION__);
|
|
|
CModTools::get_mutable_instance().StopChromiumBrowser(ERR_PAGE_REASON::breakdown, true);//close all tab
|
|
|
for each (auto it in *p.get())
|
|
|
{
|
|
@@ -1203,7 +1203,7 @@ namespace Chromium {
|
|
|
}
|
|
|
|
|
|
void CChromiumEntity::checkUrlStartTime() {
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("create thread:%s", __FUNCTION__);
|
|
|
+ //DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("create thread:%s", __FUNCTION__);
|
|
|
std::string startTimeStr = boost::posix_time::to_iso_extended_string(boost::posix_time::microsec_clock::local_time());
|
|
|
int pos = startTimeStr.find('T');
|
|
|
startTimeStr.replace(pos, 1, std::string(" "));
|
|
@@ -1312,7 +1312,7 @@ namespace Chromium {
|
|
|
else
|
|
|
{
|
|
|
auto monitorThread = [&](HANDLE job, HANDLE process) {
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("create thread:%s", __FUNCTION__);
|
|
|
+ //DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("create thread:%s", __FUNCTION__);
|
|
|
while (1)
|
|
|
{
|
|
|
if (WaitForSingleObject(process, 10) != WAIT_OBJECT_0) //process end
|