ThreadPool now working with no memory leaks

This commit is contained in:
Dynamitos committed 2022-02-14 16:29:26 +01:00
1 parent 6d48267ec2
commit 5268bb68e2
15 files changed
+287 -97

No files matched your search

+3 -2
View File
@@ -1,5 +1,5 @@
#pragma once
#include <vld.h>
//#include <vld.h>
#include "ThreadPool.h"
namespace Seele
@@ -8,10 +8,11 @@ namespace Seele
{
GlobalFixture()
{
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
//_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
}
~GlobalFixture()
{
getGlobalThreadPool().cleanup();
}
void setup()
{