From 2684a78493a4ec7323108e48e15cf17a0771eea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Wed, 31 Mar 2021 17:15:46 +0800 Subject: [PATCH] remove stack size & ignore lib --- doric-Qt/.gitignore | 3 ++- doric-Qt/doric/doric.pro.user | 4 +--- doric-Qt/doric/engine/DoricJSEngine.cpp | 2 -- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/doric-Qt/.gitignore b/doric-Qt/.gitignore index 9a73525d..01f7e1e4 100644 --- a/doric-Qt/.gitignore +++ b/doric-Qt/.gitignore @@ -1,2 +1,3 @@ /build-doric-*/ -.DS_Store \ No newline at end of file +.DS_Store +/doric/library/v8/release/v8_monolith.lib \ No newline at end of file diff --git a/doric-Qt/doric/doric.pro.user b/doric-Qt/doric/doric.pro.user index b8b41865..0f75e02b 100644 --- a/doric-Qt/doric/doric.pro.user +++ b/doric-Qt/doric/doric.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -301,7 +301,6 @@ true false true - C:/Users/maverick/Workspace/Doric/doric-Qt/build-doric-Desktop_Qt_6_0_2_MSVC2019_64bit-Debug 1 @@ -523,7 +522,6 @@ true false true - C:/Users/maverick/Workspace/Doric/doric-Qt/build-doric-Desktop_Qt_6_0_1_MinGW_64_bit-Debug 1 diff --git a/doric-Qt/doric/engine/DoricJSEngine.cpp b/doric-Qt/doric/engine/DoricJSEngine.cpp index 8a4e3777..796e3c50 100644 --- a/doric-Qt/doric/engine/DoricJSEngine.cpp +++ b/doric-Qt/doric/engine/DoricJSEngine.cpp @@ -17,10 +17,8 @@ DoricJSEngine::DoricJSEngine(QObject *parent) : QObject(parent) { mJSThreadPool.setMaxThreadCount(1); - mJSThreadPool.setStackSize(3000000000); QtConcurrent::run(&mJSThreadPool, [this] { - qDebug() << QThread::currentThread()->stackSize(); mJSE = new DoricNativeJSE(); }); QtConcurrent::run(&mJSThreadPool, [this] {