Compare commits

...

2 Commits

Author SHA1 Message Date
DCFApixels
26df930329 up version to 0.2.6 2025-03-15 17:09:19 +08:00
DCFApixels
543534f447 defines refactoring 2025-03-15 15:10:47 +08:00
2 changed files with 2 additions and 2 deletions

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.5", "version": "0.2.6",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/DCFApixels/DragonECS-ClassicThreads.git" "url": "https://github.com/DCFApixels/DragonECS-ClassicThreads.git"

View File

@ -72,7 +72,7 @@ namespace DCFApixels.DragonECS
{ {
if (_isRunning) if (_isRunning)
{ {
#if DEBUG || ENABLE_DRAGONECS_ASSERT_CHEKS #if DEBUG || DRAGONECS_STABILITY_MODE
if (_threads.Any(o => o.thread == Thread.CurrentThread)) if (_threads.Any(o => o.thread == Thread.CurrentThread))
{ {
Throw.DoubleParallelIteration(); Throw.DoubleParallelIteration();