Compare commits

..

No commits in common. "26df930329483e54b9f5f050e526689e1bef6811" and "b32421ed95653d5d0e6977768647a3faad6f6126" have entirely different histories.

7 changed files with 4 additions and 15 deletions

1
.gitignore vendored
View File

@ -35,7 +35,6 @@ ExportedObj/
*.csproj *.csproj
*.unityproj *.unityproj
*.sln *.sln
*.sln.meta
*.suo *.suo
*.tmp *.tmp
*.user *.user

View File

View File

@ -8,7 +8,7 @@
"displayName": "DragonECS-ClassicThreads", "displayName": "DragonECS-ClassicThreads",
"description": "Classic C# Multithreading for DragonECS", "description": "Classic C# Multithreading for DragonECS",
"unity": "2020.3", "unity": "2020.3",
"version": "0.2.6", "version": "0.2.5",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/DCFApixels/DragonECS-ClassicThreads.git" "url": "https://github.com/DCFApixels/DragonECS-ClassicThreads.git"

View File

@ -1,8 +1,4 @@
#if DISABLE_DEBUG namespace DCFApixels.DragonECS
#undef DEBUG
#endif
namespace DCFApixels.DragonECS
{ {
public static class EcsCollectionsExtensions public static class EcsCollectionsExtensions
{ {

View File

@ -1,7 +1,4 @@
#if DISABLE_DEBUG using System;
#undef DEBUG
#endif
using System;
namespace DCFApixels.DragonECS namespace DCFApixels.DragonECS
{ {

View File

@ -1,6 +1,3 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.ClassicThreadsInternal; using DCFApixels.DragonECS.ClassicThreadsInternal;
using System; using System;
using System.Collections.Concurrent; using System.Collections.Concurrent;
@ -72,7 +69,7 @@ namespace DCFApixels.DragonECS
{ {
if (_isRunning) if (_isRunning)
{ {
#if DEBUG || DRAGONECS_STABILITY_MODE #if (DEBUG && !DISABLE_DEBUG) || ENABLE_DRAGONECS_ASSERT_CHEKS
if (_threads.Any(o => o.thread == Thread.CurrentThread)) if (_threads.Any(o => o.thread == Thread.CurrentThread))
{ {
Throw.DoubleParallelIteration(); Throw.DoubleParallelIteration();