diff --git a/BigBaseV2/src/main.cpp b/BigBaseV2/src/main.cpp index cbc3fbbc..c0199a52 100644 --- a/BigBaseV2/src/main.cpp +++ b/BigBaseV2/src/main.cpp @@ -7,6 +7,7 @@ #include "pointers.hpp" #include "renderer.hpp" #include "script_mgr.hpp" +#include "thread_pool.hpp" BOOL APIENTRY DllMain(HMODULE hmod, DWORD reason, PVOID) { @@ -40,6 +41,9 @@ BOOL APIENTRY DllMain(HMODULE hmod, DWORD reason, PVOID) g.load(); LOG(INFO) << "Settings Loaded."; + auto thread_pool_instance = std::make_unique(); + LOG(INFO) << "Thread pool initialized."; + g_script_mgr.add_script(std::make_unique